summaryrefslogtreecommitdiff
path: root/community/gnustep-base
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-06-06 22:47:17 +0000
committerroot <root@rshg047.dnsready.net>2011-06-06 22:47:17 +0000
commit93a9cde1226d0c82849bc71ff4d481d3d2698dc1 (patch)
tree1f60e792a546a9484aec590ce687df8f0ec6c697 /community/gnustep-base
parentc81b3455112a3b09a8341fc8c45a91bd92c15a12 (diff)
Mon Jun 6 22:47:16 UTC 2011
Diffstat (limited to 'community/gnustep-base')
-rw-r--r--community/gnustep-base/PKGBUILD14
1 files changed, 9 insertions, 5 deletions
diff --git a/community/gnustep-base/PKGBUILD b/community/gnustep-base/PKGBUILD
index 556c873d5..a2a05176b 100644
--- a/community/gnustep-base/PKGBUILD
+++ b/community/gnustep-base/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 45211 2011-04-18 12:45:17Z spupykin $
+# $Id: PKGBUILD 48665 2011-06-03 22:32:57Z stephane $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Vesa Kaihlavirta <vegai@iki.fi>
# Contributor: Sebastian Sareyko <public@nooms.de>
pkgname=gnustep-base
pkgver=1.22.0
-pkgrel=1
+pkgrel=2
pkgdesc="The GNUstep base package"
arch=('i686' 'x86_64')
url="http://www.gnustep.org/"
@@ -19,12 +19,16 @@ source=(ftp://ftp.gnustep.org/pub/gnustep/core/$pkgname-$pkgver.tar.gz)
md5sums=('7faab4891ae6c1e7a6c806d6da368410')
build() {
- cd $srcdir/$pkgname-$pkgver
+ cd "$srcdir/$pkgname-$pkgver"
source /etc/profile.d/GNUstep.sh
./configure --prefix=/usr --sysconfdir=/etc/GNUstep --with-ffi-include=/usr/lib/libffi-3.0.9/include/
# fix file ownership
sed -i 's/tar -xf $(TIMEZONE_ARCHIVE);/tar -xf $(TIMEZONE_ARCHIVE);chown -R root:root * ;/' NSTimeZones/Makefile.postamble
make VERBOSE=1
- make DESTDIR=$pkgdir install
- chown -R root.root $pkgdir/
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+ chown -R root.root "$pkgdir/"
}