# Packager = Tuxcore <dev@tuxcore.org> 
pkgname=libpipeline
pkgver=1.5.7
pkgrel=2
pkgdesc="a C library for manipulating pipelines of subprocesses in a flexible and convenient way"
arch=('x86_64')
url="https://nongnu.org/libpipeline/"
license=('GPL-3.0-or-later')
depends=('glibc')
# https://gitlab.com/cjwatson/libpipeline
source=(https://download.savannah.gnu.org/releases/libpipeline/$pkgname-$pkgver.tar.gz{,.asc})
sha256sums=('b8b45194989022a79ec1317f64a2a75b1551b2a55bea06f67704cb2a2e4690b0'
            'SKIP')

build() {
  cd $pkgname-$pkgver
  ./configure --prefix=/usr
  make
}

check() {
  cd $pkgname-$pkgver
  make check
}

package() {
  cd $pkgname-$pkgver
  make DESTDIR="$pkgdir/" install
}
