summaryrefslogtreecommitdiff
path: root/community/puzzles
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-05-08 22:33:52 +0000
committerroot <root@rshg047.dnsready.net>2011-05-08 22:33:52 +0000
commit886d3d0994eb8e9f3e797155619619e0ef1353f8 (patch)
treeaecae53a57082f8f3e4b72755149285659c1bee3 /community/puzzles
parentfe6dc99352fe2b801d251e55b2b8baa71441908e (diff)
Sun May 8 22:33:51 UTC 2011
Diffstat (limited to 'community/puzzles')
-rw-r--r--community/puzzles/PKGBUILD19
1 files changed, 10 insertions, 9 deletions
diff --git a/community/puzzles/PKGBUILD b/community/puzzles/PKGBUILD
index 912af073d..20af83ec8 100644
--- a/community/puzzles/PKGBUILD
+++ b/community/puzzles/PKGBUILD
@@ -1,8 +1,9 @@
# Contributor: Geoffroy Carrier <geoffroy.carrier@koon.fr>
-# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>
+# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
+# Maintainer: schuay <jakob.gruber@gmail.com>
pkgname=puzzles
-pkgver=8951
+pkgver=9168
pkgrel=1
pkgdesc="Simon Tatham's Portable Puzzle Collection"
arch=('i686' 'x86_64')
@@ -10,14 +11,14 @@ 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)
-md5sums=('8707698a75aa052e95c9d7417b44efd0')
+source=("http://www.chiark.greenend.org.uk/~sgtatham/${pkgname}/${pkgname}-r${pkgver}.tar.gz")
+md5sums=('15ec7483b579bd61edd972e81f3902b9')
build() {
cd ${srcdir}/${pkgname}-r${pkgver}
sed -i 's|\$(gamesdir)|\$(bindir)|' Makefile
- make prefix=/usr || return 1
+ make prefix=/usr
}
package() {
@@ -26,10 +27,10 @@ package() {
install -d ${pkgdir}/usr/{bin,share/licenses/${pkgname}}
install -Dm644 LICENCE ${pkgdir}/usr/share/licenses/${pkgname}/
- make prefix=/usr DESTDIR=${pkgdir} install || return 1
+ make prefix=/usr DESTDIR=${pkgdir} install
#fix FS#14600
- mv ${pkgdir}/usr/bin/net ${pkgdir}/usr/bin/puzzles-net || return 1
- mv ${pkgdir}/usr/bin/cube ${pkgdir}/usr/bin/puzzles-cube || return 1
- mv ${pkgdir}/usr/bin/blackbox ${pkgdir}/usr/bin/puzzles-blackbox || return 1
+ mv ${pkgdir}/usr/bin/net ${pkgdir}/usr/bin/puzzles-net
+ mv ${pkgdir}/usr/bin/cube ${pkgdir}/usr/bin/puzzles-cube
+ mv ${pkgdir}/usr/bin/blackbox ${pkgdir}/usr/bin/puzzles-blackbox
}