summaryrefslogtreecommitdiffstats
path: root/abs/core/libpipeline/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/libpipeline/PKGBUILD')
-rw-r--r--abs/core/libpipeline/PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/abs/core/libpipeline/PKGBUILD b/abs/core/libpipeline/PKGBUILD
new file mode 100644
index 0000000..4ba224b
--- /dev/null
+++ b/abs/core/libpipeline/PKGBUILD
@@ -0,0 +1,32 @@
+# $Id: PKGBUILD 160243 2012-05-31 15:59:08Z andyrtr $
+# Maintainer: Andreas Radke <andyrtr@archlinux.org>
+
+pkgname=libpipeline
+pkgver=1.2.1
+pkgrel=1
+pkgdesc="a C library for manipulating pipelines of subprocesses in a flexible and convenient way"
+arch=('i686' 'x86_64')
+url="http://libpipeline.nongnu.org/"
+license=('GPL')
+depends=('glibc')
+options=('!libtool')
+source=(http://download.savannah.gnu.org/releases/libpipeline/$pkgname-$pkgver.tar.gz)
+md5sums=('20896c919eca4acb3d2f13012fb7ba02')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ sed -i '/gets is a security hole/d' gnulib/lib/stdio.in.h
+
+ ./configure --prefix=/usr
+ make
+}
+
+check() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make -k check
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir/" install
+}