summaryrefslogtreecommitdiff
path: root/extra/libggz
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-05-14 22:37:30 +0000
committerroot <root@rshg047.dnsready.net>2011-05-14 22:37:30 +0000
commite69c538fc7af5a9861c7688dd15913082d978180 (patch)
treef193cf26628a71f1c474227fa6c429713558f0a2 /extra/libggz
parent2c4629f613c001fd29740d0f4c0e497c771a2182 (diff)
Sat May 14 22:37:30 UTC 2011
Diffstat (limited to 'extra/libggz')
-rw-r--r--extra/libggz/PKGBUILD20
1 files changed, 12 insertions, 8 deletions
diff --git a/extra/libggz/PKGBUILD b/extra/libggz/PKGBUILD
index 99ee52cdf..22b350783 100644
--- a/extra/libggz/PKGBUILD
+++ b/extra/libggz/PKGBUILD
@@ -1,22 +1,26 @@
-# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
+# $Id: PKGBUILD 123866 2011-05-14 00:16:35Z andrea $
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
pkgname=libggz
pkgver=0.0.14.1
-pkgrel=1
+pkgrel=2
pkgdesc="GGZ base library, used by the GGZ Gaming Zone server (ggzd), the ggzcore library and other components"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64')
url="http://www.ggzgamingzone.org/"
license=('LGPL')
depends=('libgcrypt')
options=('!libtool')
-source=(http://ftp.ggzgamingzone.org/pub/ggz/${pkgver}/${pkgname}-${pkgver}.tar.gz)
+source=("http://ftp.ggzgamingzone.org/pub/ggz/${pkgver}/${pkgname}-${pkgver}.tar.gz")
md5sums=('603739504648833779aa13b0327a1c3d')
build() {
- cd ${startdir}/src/${pkgname}-${pkgver}
- ./configure --prefix=/usr || return 1
- make || return 1
- make DESTDIR=${startdir}/pkg install || return 1
+ cd "${srcdir}"/${pkgname}-${pkgver}
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}"/${pkgname}-${pkgver}
+ make DESTDIR="${pkgdir}" install
}