diff options
Diffstat (limited to 'community/fillets-ng/PKGBUILD')
-rw-r--r-- | community/fillets-ng/PKGBUILD | 40 |
1 files changed, 21 insertions, 19 deletions
diff --git a/community/fillets-ng/PKGBUILD b/community/fillets-ng/PKGBUILD index 9e4741e72..33688a017 100644 --- a/community/fillets-ng/PKGBUILD +++ b/community/fillets-ng/PKGBUILD @@ -1,39 +1,41 @@ -# $Id: PKGBUILD 65307 2012-02-20 20:47:47Z jlichtblau $ +# $Id: PKGBUILD 81105 2012-12-12 00:47:31Z eric $ # Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org> pkgname=fillets-ng pkgver=1.0.1 -pkgrel=1 -pkgdesc="A port of the wonderful puzzle game Fish Fillets" +pkgrel=3 +pkgdesc="Port of the wonderful puzzle game Fish Fillets" url="http://fillets.sf.net/" arch=('i686' 'x86_64') license=('GPL') -depends=('fillets-ng-data' 'lua' 'fribidi' 'gcc-libs' 'libx11' 'sdl_mixer' 'sdl_ttf' 'sdl_image' 'desktop-file-utils') +depends=('fillets-ng-data' 'lua51' 'fribidi' 'gcc-libs' 'libx11' 'sdl_mixer' 'sdl_ttf' 'sdl_image' 'desktop-file-utils') +makedepends=('gendesk') install=$pkgname.install changelog=$pkgname.changelog -source=(http://downloads.sourceforge.net/fillets/$pkgname-$pkgver.tar.gz \ - http://fillets.sourceforge.net/img/icon.png \ - $pkgname.desktop) +source=("http://downloads.sourceforge.net/fillets/$pkgname-$pkgver.tar.gz" + "$pkgname.png::http://img.1mobile.com/market/i/4/9/49ec5e5520844b66c189c7e0ef6eedfc.png" + 'lua-config') sha256sums=('329a4d9515d60bebdb657d070824933b993b85864b9d3e302e6361accab992da' - 'dec9d93c33b8e0f039e14228aad6be142109b0689bd216bcda2d91265500e2a0' - '6283237a582c90cb9734ee420e79cfccaa5c8c35aae9a19000202ceb96ad3254') + '338c9e1b8ac4ef5bb167f4a6090c341897bd2c7f8b4e5afc3ac3131a57bb8c88' + '849fb1410387dc7df0617e12a9472cfbe3b1179600011c0365f9099ff5af6214') build() { - cd ${srcdir}/$pkgname-$pkgver - + gendesk + export PATH=$PATH:$PWD + chmod a+rx lua-config + cd $pkgname-$pkgver ./configure --prefix=/usr --datadir=/usr/share/$pkgname make } package() { - cd ${srcdir}/$pkgname-$pkgver - - make DESTDIR=${pkgdir} install + cd $pkgname-$pkgver -#.desktop and icon files - install -D -m644 ${srcdir}/icon.png \ - ${pkgdir}/usr/share/pixmaps/$pkgname.png - install -D -m644 ${srcdir}/$pkgname.desktop \ - ${pkgdir}/usr/share/applications/$pkgname.desktop + make DESTDIR="${pkgdir}" install + # desktop and icon files + install -D -m644 "${srcdir}/$pkgname.png" \ + "${pkgdir}/usr/share/pixmaps/$pkgname.png" + install -D -m644 "${srcdir}/$pkgname.desktop" \ + "${pkgdir}/usr/share/applications/$pkgname.desktop" } |