summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5af7eaf6f1d7c36d013e533073a8b8eb33ed926f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#Maintainer: Nico Suarez <nicodoggie@gmail.com>
#Contributor: freaknils <nils[AT]czserver.de>

pkgname=hamsket-nightly-bin
_pkgname=hamsket
pkgver=0.6.0
pkgrel=3
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' 'gconf' 'gtk2' 'libnotify' 'libxtst' 'libxss' 'nss')
provides=('hamsket')
conflicts=('rambox' 'rambox-os-git' 'rambox-bin' 'ramboxpro-bin' 'rambox-os-bin' 'rambox-os' 'hamsket-bin')
url='https://github.com/TheGoddessInari/hamsket'
license=('GPL3')
source=("$_pkgname.tar.gz::https://github.com/TheGoddessInari/hamsket/releases/download/nightly/$_pkgname-$pkgver.tar.gz"
        "${_pkgname}.desktop"
        "${_pkgname}.png")
sha256sums=('54b2740d0ce5c8e8c011a74e5b4231f8f3dd6bb8260de2c25968b56f83bd5c2f'
            '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/
}