summaryrefslogtreecommitdiff
path: root/pcr/gnustep-base/PKGBUILD
diff options
context:
space:
mode:
authorAndreas Grapentin <andreas@grapentin.org>2018-01-21 17:32:03 +0100
committerAndreas Grapentin <andreas@grapentin.org>2018-01-21 20:59:43 +0100
commit327eaf8d5e23ae16d2af2c8eda41517db72ccd96 (patch)
tree98558e84292f8f082ba853e6a0104a20a526b8a2 /pcr/gnustep-base/PKGBUILD
parent819e924800722d4866955bda48654f0e2a6e0204 (diff)
downloadabslibre-327eaf8d5e23ae16d2af2c8eda41517db72ccd96.tar.gz
abslibre-327eaf8d5e23ae16d2af2c8eda41517db72ccd96.tar.bz2
abslibre-327eaf8d5e23ae16d2af2c8eda41517db72ccd96.zip
pcr/gnustep-base: added
Diffstat (limited to 'pcr/gnustep-base/PKGBUILD')
-rw-r--r--pcr/gnustep-base/PKGBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/pcr/gnustep-base/PKGBUILD b/pcr/gnustep-base/PKGBUILD
new file mode 100644
index 000000000..4f71ee858
--- /dev/null
+++ b/pcr/gnustep-base/PKGBUILD
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer (AUR): Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Maintainer (AUR): Vesa Kaihlavirta <vegai@iki.fi>
+# Contributor (AUR): Sebastian Sareyko <public@nooms.de>
+
+# parabola changes and rationale:
+# no changes.
+
+pkgname=gnustep-base
+pkgver=1.25.1
+pkgrel=1
+pkgdesc="The GNUstep base package"
+arch=('x86_64' 'i686' 'armv7h')
+url="http://www.gnustep.org/"
+license=("GPL" "LGPL")
+depends=(libxslt avahi gmp gcc-libs openssl libffi gnustep-make gnutls icu)
+makedepends=(gcc-objc)
+conflicts=('gnustep-base-svn')
+groups=('gnustep-core')
+options=('!emptydirs' '!makeflags')
+source=(https://github.com/gnustep/libs-base/releases/download/base-${pkgver//./_}/gnustep-base-${pkgver}.tar.gz{,.sig})
+sha256sums=('f28beb9ca485674bcce3053896ad90a31b109fb97c5a041827c72f241e8db69e'
+ 'SKIP')
+validpgpkeys=('83AAE47CE829A4146EF83420CA868D4C99149679')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ source /usr/share/GNUstep/Makefiles/GNUstep.sh
+ ./configure --prefix=/usr --sysconfdir=/etc/GNUstep \
+ --with-ffi-include=/usr/lib/libffi-`pacman -Q libffi | cut -f2 -d\ |cut -f1 -d-`/include/
+ # fix file ownership
+ sed -i 's/tar -xf $(TIMEZONE_ARCHIVE);/tar -xf $(TIMEZONE_ARCHIVE);chown -R root:root * ;/' NSTimeZones/Makefile.postamble
+ sed -i 's|.*gnutls_transport_set_lowat.*||' Source/GSSocketStream.m
+ make VERBOSE=1
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+ chown -R root.root "$pkgdir/"
+}