summaryrefslogtreecommitdiffstats
path: root/abs/core/libpipeline/PKGBUILD
blob: 4ba224bb18b50ba6189a2677153eab85517f6788 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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
}