diff --git a/lfs/libpipeline-1.5.8.PKGBUILD b/lfs/libpipeline-1.5.8.PKGBUILD new file mode 100644 index 0000000..842c15e --- /dev/null +++ b/lfs/libpipeline-1.5.8.PKGBUILD @@ -0,0 +1,26 @@ +pkgname=libpipeline +pkgver=1.5.8 +pkgdesc="a C library for manipulating pipelines of subprocesses in a flexible and convenient way" +arch=('x86_64') +homepage="https://nongnu.org/libpipeline/" +license=('GPL-3.0-or-later') +sources=("${pkgname}-${pkgver}.tar.gz") +urls=("https://download.savannah.gnu.org/releases/${pkgname}/${sources[0]}") +md5sums=("17ac6969b2015386bcb5d278a08a40b5") + +src_prepare() { + tar -xf ${distdir}/${sources[0]} --strip-components=1 +} + +src_build() { + ./configure --prefix=/usr + make +} + +src_check() { + make check +} + +src_install() { + make DESTDIR="${pkgdir}" install +}