summaryrefslogtreecommitdiff
path: root/community/puzzles/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/puzzles/PKGBUILD')
-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
}