diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 17 |
1 files changed, 12 insertions, 5 deletions
@@ -3,19 +3,25 @@ pkgname=hexgui pkgver=0.9.1 -pkgrel=1 +pkgrel=2 pkgdesc='SGF editor and engine client for the board game Hex' arch=('any') url='http://sourceforge.net/p/benzene/hexgui' license=('GPL3') depends=('bash' 'java-runtime') makedepends=('apache-ant' 'java-environment') -source=("https://github.com/apetresc/hexgui/archive/v$pkgver.tar.gz" 'hexgui') +install=${pkgname}.install +source=("https://github.com/apetresc/hexgui/archive/v$pkgver.tar.gz" + 'hexgui' + 'hexgui.xml' + 'hexgui.desktop') md5sums=('eb264a51b3b446d79ef1628a4bbf6e2a' - '77035cf26c8a2e4c656ad874b44ccf29') + '77035cf26c8a2e4c656ad874b44ccf29' + 'df0600845bfe27c7f5775f274ee12202' + 'd6c7e88fb22bff99ef68efc26ccb8d56') build() { - cd $pkgname-$pkgver + cd $pkgname-$pkgver ant } @@ -31,5 +37,6 @@ package() { cp $srcdir/$pkgname-$pkgver/lib/hexgui.jar $pkgdir/usr/share/java/hexgui/hexgui.jar cp hexgui $pkgdir/usr/bin/hexgui + install -Dm644 ${srcdir}/${pkgname}.desktop ${pkgdir}/usr/share/applications/${pkgname}.desktop + install -Dm644 ${srcdir}/${pkgname}.xml ${pkgdir}/usr/share/mime/packages/${pkgname}.xml } - |