summaryrefslogtreecommitdiff
path: root/community/puzzles/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-05-09 00:41:55 -0700
committerroot <root@rshg054.dnsready.net>2013-05-09 00:41:55 -0700
commit648599b08776ea788a3ddb0365eb30fda03efe7b (patch)
treebe3c375c8606fce5d85bbfc9095a2489c257ec68 /community/puzzles/PKGBUILD
parentd6413cd6dac778aa64e48046ce7110000997ff61 (diff)
Thu May 9 00:41:55 PDT 2013
Diffstat (limited to 'community/puzzles/PKGBUILD')
-rw-r--r--community/puzzles/PKGBUILD32
1 files changed, 15 insertions, 17 deletions
diff --git a/community/puzzles/PKGBUILD b/community/puzzles/PKGBUILD
index 404bfa286..521be2cb7 100644
--- a/community/puzzles/PKGBUILD
+++ b/community/puzzles/PKGBUILD
@@ -3,39 +3,37 @@
# Maintainer: schuay <jakob.gruber@gmail.com>
pkgname=puzzles
-pkgver=9835
+pkgver=9838
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')
+makedepends=('pkgconfig' 'subversion')
depends=('gtk2')
-source=("http://www.chiark.greenend.org.uk/~sgtatham/${pkgname}/${pkgname}-r${pkgver}.tar.gz")
+source=("svn://svn.tartarus.org/sgt/puzzles#revision=$pkgver")
+md5sums=("SKIP")
build() {
- cd ${srcdir}/${pkgname}-r${pkgver}
+ cd ${srcdir}/${pkgname}
./mkfiles.pl
- sed -i 's|\$(gamesdir)|\$(bindir)|' Makefile
+ sed -i 's|\$(gamesdir)|\$(bindir)|' Makefile
- export CFLAGS="$CFLAGS -lm"
- make prefix=/usr
+ make prefix=/usr
}
package() {
- cd ${srcdir}/${pkgname}-r${pkgver}
+ cd ${srcdir}/${pkgname}
- install -d ${pkgdir}/usr/{bin,share/licenses/${pkgname}}
- install -Dm644 LICENCE ${pkgdir}/usr/share/licenses/${pkgname}/
+ install -d ${pkgdir}/usr/{bin,share/licenses/${pkgname}}
+ install -Dm644 LICENCE ${pkgdir}/usr/share/licenses/${pkgname}/
- make prefix=/usr DESTDIR=${pkgdir} install
+ make prefix=/usr DESTDIR=${pkgdir} install
- #fix FS#14600
- 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
+ #fix FS#14600
+ 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
}
-
-md5sums=('0db6e36f2ac04490f38ace15aabab555')