#!/usr/bin/bash
# JOBoRun		: Jwm OpenBox Obarun RUNit
# Maintainer	: Joe Bo Run <joborun@disroot.org>
# PkgSource		: url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname"
# Website		: https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------

pkgname=libpipeline
pkgver=1.5.7
pkgrel=01
pkgdesc="a C library for manipulating pipelines of subprocesses in a flexible and convenient way"
arch=('x86_64')
url="https://nongnu.org/libpipeline/"
depends=('glibc')
# https://gitlab.com/cjwatson/libpipeline
source=(https://download.savannah.gnu.org/releases/libpipeline/$pkgname-$pkgver.tar.gz{,.asc})

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

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

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

#---- license gpg-key sha256sums ----

license=('GPL')

#validpgpkeys=('AC0A4FF12611B6FCCF01C111393587D97D86500B') # Colin Watson <cjwatson@debian.org>
#validpgpkeys=('87317259431038049C92C139F6DD330210FA4CD1') # "Colin Watson <cjwatson@flatline.org.uk>"
validpgpkeys=('AC0A4FF12611B6FCCF01C111393587D97D86500B') # "Colin Watson <cjwatson@chiark.greenend.org.uk>"


sha256sums=(b8b45194989022a79ec1317f64a2a75b1551b2a55bea06f67704cb2a2e4690b0  # libpipeline-1.5.7.tar.gz
	b027d496667a3055a37d8d98542f1731d55c823fa742d596d5d0c6239bc36c34) # libpipeline-1.5.7.tar.gz.asc


