diff options
author | root <root@rshg054.dnsready.net> | 2012-04-09 00:01:09 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-04-09 00:01:09 +0000 |
commit | 4de1f7cfdca3531b7324f72b2f109384b2a3a856 (patch) | |
tree | 7fe243e8ad2bfcbaa4027aca963474964800c387 /community/puzzles/PKGBUILD | |
parent | 5eb91336815b8ce54fbdb828555166b348738c49 (diff) |
Mon Apr 9 00:01:09 UTC 2012
Diffstat (limited to 'community/puzzles/PKGBUILD')
-rw-r--r-- | community/puzzles/PKGBUILD | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/community/puzzles/PKGBUILD b/community/puzzles/PKGBUILD index 63ec27273..d2fe27e3a 100644 --- a/community/puzzles/PKGBUILD +++ b/community/puzzles/PKGBUILD @@ -3,20 +3,26 @@ # Maintainer: schuay <jakob.gruber@gmail.com> pkgname=puzzles -pkgver=9306 -pkgrel=2 +pkgver=9445 +pkgrel=1 pkgdesc="Simon Tatham's Portable Puzzle Collection" arch=('i686' 'x86_64') url="http://www.chiark.greenend.org.uk/~sgtatham/puzzles/" license=('MIT') makedepends=('pkgconfig') depends=('gtk2') -source=("http://www.chiark.greenend.org.uk/~sgtatham/${pkgname}/${pkgname}-r${pkgver}.tar.gz") +source=("http://www.chiark.greenend.org.uk/~sgtatham/${pkgname}/${pkgname}-r${pkgver}.tar.gz" + 'puzzles-lm.diff') build() { cd ${srcdir}/${pkgname}-r${pkgver} + patch -Np1 < ${srcdir}/puzzles-lm.diff + ./mkfiles.pl + sed -i 's|\$(gamesdir)|\$(bindir)|' Makefile + + export CFLAGS="$CFLAGS -lm" make prefix=/usr } @@ -34,4 +40,5 @@ package() { mv ${pkgdir}/usr/bin/blackbox ${pkgdir}/usr/bin/puzzles-blackbox } -md5sums=('317e97dc3bfc7cb901636761747fa4c9') +md5sums=('fbee267af9c887d229a2035b18ebd4a7' + '41ac7f0d300422da94080e08976132e6') |