[arch-commits] Commit in puzzles/repos/community-i686 (PKGBUILD PKGBUILD)

Jakob Gruber schuay at nymeria.archlinux.org
Wed May 8 12:45:59 EDT 2013


    Date: Wednesday, May 8, 2013 @ 18:45:59
  Author: schuay
Revision: 90201

archrelease: copy trunk to community-i686

Added:
  puzzles/repos/community-i686/PKGBUILD
    (from rev 90200, puzzles/trunk/PKGBUILD)
Deleted:
  puzzles/repos/community-i686/PKGBUILD

----------+
 PKGBUILD |   80 +++++++++++++++++++++++++++++--------------------------------
 1 file changed, 39 insertions(+), 41 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-08 16:45:48 UTC (rev 90200)
+++ PKGBUILD	2013-05-08 16:45:59 UTC (rev 90201)
@@ -1,41 +0,0 @@
-# Contributor: Geoffroy Carrier <geoffroy.carrier at koon.fr>
-# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
-# Maintainer: schuay <jakob.gruber at gmail.com>
-
-pkgname=puzzles
-pkgver=9835
-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")
-
-build() {
-	cd ${srcdir}/${pkgname}-r${pkgver}
-
-    ./mkfiles.pl
-    
-	sed -i 's|\$(gamesdir)|\$(bindir)|' Makefile
-
-    export CFLAGS="$CFLAGS -lm"
-	make prefix=/usr
-}
-
-package() {
-	cd ${srcdir}/${pkgname}-r${pkgver}
-
-	install -d ${pkgdir}/usr/{bin,share/licenses/${pkgname}}
-	install -Dm644 LICENCE ${pkgdir}/usr/share/licenses/${pkgname}/
-
-	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
-}
-
-md5sums=('0db6e36f2ac04490f38ace15aabab555')

Copied: puzzles/repos/community-i686/PKGBUILD (from rev 90200, puzzles/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2013-05-08 16:45:59 UTC (rev 90201)
@@ -0,0 +1,39 @@
+# Contributor: Geoffroy Carrier <geoffroy.carrier at koon.fr>
+# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
+# Maintainer: schuay <jakob.gruber at gmail.com>
+
+pkgname=puzzles
+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' 'subversion')
+depends=('gtk2')
+source=("svn://svn.tartarus.org/sgt/puzzles#revision=$pkgver")
+md5sums=("SKIP")
+
+build() {
+    cd ${srcdir}/${pkgname}
+
+    ./mkfiles.pl
+    
+    sed -i 's|\$(gamesdir)|\$(bindir)|' Makefile
+
+    make prefix=/usr
+}
+
+package() {
+    cd ${srcdir}/${pkgname}
+
+    install -d ${pkgdir}/usr/{bin,share/licenses/${pkgname}}
+    install -Dm644 LICENCE ${pkgdir}/usr/share/licenses/${pkgname}/
+
+    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
+}



More information about the arch-commits mailing list