diff options
author | root <root@rshg054.dnsready.net> | 2012-12-12 02:49:40 -0800 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-12-12 02:49:40 -0800 |
commit | 6768c115af3c5f0772bcf7b02f34a88a880876c0 (patch) | |
tree | cf59712968581c230363f5604ad8f253cc0b5d87 /community/fillets-ng | |
parent | ab94338181959432cf0046ce0a9643307dab9366 (diff) |
Wed Dec 12 02:43:53 PST 2012
Diffstat (limited to 'community/fillets-ng')
-rw-r--r-- | community/fillets-ng/PKGBUILD | 40 | ||||
-rw-r--r-- | community/fillets-ng/lua-config | 10 |
2 files changed, 31 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" } diff --git a/community/fillets-ng/lua-config b/community/fillets-ng/lua-config new file mode 100644 index 000000000..ef9b96b71 --- /dev/null +++ b/community/fillets-ng/lua-config @@ -0,0 +1,10 @@ +#!/bin/bash + +if [[ $1 == --include ]]; then + pkg-config --cflags lua5.1 + exit 0 +elif [[ $1 == --static ]]; then + pkg-config --libs lua5.1 +fi + +exit 1 |