diff options
author | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
commit | 8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch) | |
tree | 03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/fillets-ng | |
parent | e445a313723389ba9ee1fded025c567dae5b21ea (diff) |
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/fillets-ng')
-rw-r--r-- | community/fillets-ng/PKGBUILD | 42 | ||||
-rw-r--r-- | community/fillets-ng/fillets-ng.changelog | 23 | ||||
-rw-r--r-- | community/fillets-ng/fillets-ng.install | 4 | ||||
-rw-r--r-- | community/fillets-ng/lua-config | 10 |
4 files changed, 79 insertions, 0 deletions
diff --git a/community/fillets-ng/PKGBUILD b/community/fillets-ng/PKGBUILD new file mode 100644 index 000000000..a7a468d29 --- /dev/null +++ b/community/fillets-ng/PKGBUILD @@ -0,0 +1,42 @@ +# $Id: PKGBUILD 81295 2012-12-16 16:14:21Z arodseth $ +# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org> + +pkgname=fillets-ng +pkgver=1.0.1 +pkgrel=4 +pkgdesc="Port of the wonderful puzzle game Fish Fillets" +url="http://fillets.sf.net/" +arch=('i686' 'x86_64') +license=('GPL') +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" + "$pkgname.png::http://img.1mobile.com/market/i/4/9/49ec5e5520844b66c189c7e0ef6eedfc.png" + 'lua-config') +sha256sums=('329a4d9515d60bebdb657d070824933b993b85864b9d3e302e6361accab992da' + '338c9e1b8ac4ef5bb167f4a6090c341897bd2c7f8b4e5afc3ac3131a57bb8c88' + '849fb1410387dc7df0617e12a9472cfbe3b1179600011c0365f9099ff5af6214') +_exec=('fillets') + +build() { + gendesk + export PATH=$PATH:$PWD + chmod a+rx lua-config + cd $pkgname-$pkgver + ./configure --prefix=/usr --datadir=/usr/share/$pkgname + make +} + +package() { + cd $pkgname-$pkgver + + 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/fillets-ng.changelog b/community/fillets-ng/fillets-ng.changelog new file mode 100644 index 000000000..385d01833 --- /dev/null +++ b/community/fillets-ng/fillets-ng.changelog @@ -0,0 +1,23 @@ +2012-02-20 Jaroslav Lichtblau <dragonlord@aur.archlinux.org> + * Update to major release 1.0.1 + +2011-01-02 Jaroslav Lichtblau <dragonlord@aur.archlinux.org> + * Update to major release 1.0.0 + +2010-03-21 Jaroslav Lichtblau <dragonlord@aur.archlinux.org> + * Update to major release 0.9.3 + +2009-10-20 Jaroslav Lichtblau <dragonlord@aur.archlinux.org> + * Update to major release 0.9.2 + +2009-07-07 Jaroslav Lichtblau <dragonlord@aur.archlinux.org> + * Update to major release 0.9.1 + +2009-06-21 Jaroslav Lichtblau <dragonlord@aur.archlinux.org> + * Update to major release 0.9.0 + +2009-01-10 Jaroslav Lichtblau <dragonlord@aur.archlinux.org> + * Update to major release 0.8.1 + +2008-08-05 Jaroslav Lichtblau <dragonlord@aur.archlinux.org> + * Package moved to [community] diff --git a/community/fillets-ng/fillets-ng.install b/community/fillets-ng/fillets-ng.install new file mode 100644 index 000000000..de3e0f510 --- /dev/null +++ b/community/fillets-ng/fillets-ng.install @@ -0,0 +1,4 @@ +post_install() { + echo "Updating desktop and mime database ..." + update-desktop-database -q +} 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 |