Skip to content

Instantly share code, notes, and snippets.

@undu
Created Nov 25, 2020
Embed
What would you like to do?
hamsket 0.6.0 aur
[Desktop Entry]
Encoding=UTF-8
Name=Hamsket
Comment=Free and Open Source messaging and emailing app that combines common web applications into one.
Exec=hamsket -- %u
StartupWMClass=Hamsket
Icon=hamsket
Terminal=false
Type=Application
Categories=Network;
X-Desktop-File-Install-Version=0.1
Name[en_US]=Hamsket
#Maintainer: Nils Czernia <nils[at]czserver.de>
pkgname=hamsket-bin
_pkgname=hamsket
pkgver=0.6.0
pkgrel=1
pkgdesc='Forked Free and Open Source messaging and emailing app that combines common web applications into one'
arch=('x86_64')
depends=('alsa-lib' 'bash' 'desktop-file-utils' 'gtk2' 'libnotify' 'libxtst' 'libxss' 'nss')
provides=('hamsket')
conflicts=('rambox' 'rambox-os-git' 'rambox-bin' 'ramboxpro-bin' 'rambox-os-bin' 'rambox-os')
url='https://github.com/TheGoddessInari/hamsket'
license=('GPL3')
source=("$_pkgname.tar.gz::https://github.com/TheGoddessInari/hamsket/releases/download/$pkgver/hamsket-$pkgver.tar.gz"
"${_pkgname}.desktop"
"${_pkgname}.png")
sha256sums=('add97c925f43020216ac4f90331b6f7db3f19df77c3e09fcb52114c2ef1166ea'
'18ecd40929511a7083a690ed77690571b2160200298bf589e8818aad97317f27'
'0bf4d0c849ad6151f77b346fea0424fab910f434378f9890b16fd15a32a10064')
package() {
install -d "${pkgdir}/"{opt/hamsket,usr/{bin,share/pixmaps}}
cp -R "${srcdir}/hamsket-${pkgver}/"* "${pkgdir}/opt/${_pkgname}/"
ln -rs "${pkgdir}/opt/${_pkgname}/hamsket" "${pkgdir}/usr/bin/hamsket"
chmod 4755 "${pkgdir}/opt/${_pkgname}/chrome-sandbox"
install -Dm644 "$srcdir/${_pkgname}.png" "${pkgdir}/usr/share/pixmaps/${_pkgname}.png"
desktop-file-install "${srcdir}/${_pkgname}.desktop" --dir "${pkgdir}/usr/share/applications/"
}
@jmarcher
Copy link

jmarcher commented Nov 25, 2020

I was getting an error regarding the .desktop checksum so I changed the sha256sums to:

sha256sums=('add97c925f43020216ac4f90331b6f7db3f19df77c3e09fcb52114c2ef1166ea'
            'f0371f0ec263486ec5d7af7053be67be5545628f88bf123c00c1a181b3fa4dd8'
            '0bf4d0c849ad6151f77b346fea0424fab910f434378f9890b16fd15a32a10064')

to make it work!

Thanks for the buildfiles!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment