# Contributor: Sören Tempel # Maintainer: Sören Tempel pkgname=outils pkgver=0.2 pkgrel=2 pkgdesc="Port of some non-standard OpenBSD tools to Linux" url="https://github.com/chneukirchen/outils" arch="all" license="BSD ISC" depends="" depends_dev="" makedepends="openssl-dev linux-headers" install="" subpackages="$pkgname-doc" source="$pkgname-$pkgver.tar.gz::https://github.com/chneukirchen/$pkgname/archive/v$pkgver.tar.gz include-sys-types.patch" _builddir="$srcdir"/$pkgname-$pkgver prepare() { local i cd "$_builddir" for i in $source; do case $i in *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; esac done } build() { make CC="$CC" CFLAGS="$CFLAGS" \ -C "$_builddir" || return 1 } package() { make DESTDIR="$pkgdir" install \ -C "$_builddir" || return 1 # Don't conflict with main/coreutils rm -f "$pkgdir"/usr/bin/cksum || return 1 rm -f "$pkgdir"/usr/share/man/man1/cksum.1 || return 1 } md5sums="9b4be449ff568baedc3d3aac4dfaf6e0 outils-0.2.tar.gz ff9943b103c7597b371435cc7323f775 include-sys-types.patch" sha256sums="e37626abd95ada936250938f4142161f70dae8247257db946708d6a87e785ddc outils-0.2.tar.gz ce2810972f5c30389f87f5c4f68b6a31cd45369e4deeb2b2e90df46b2b367320 include-sys-types.patch" sha512sums="8a54a0c260c9a5a18f9ec0c0265d7b4195f64bb41845628fd4b4e1e066920ac7abc49372c817e9311c2ecc787c603d5d5d0905432c26f184b76a30bd82b0801e outils-0.2.tar.gz 1d6e0984038ffba618d8f08a002c5589da76e2872b9e434c4c470180f2d67f977ad803be734d30ea7eee57286d356da86ef959f90e75255697d42c957ecab9c7 include-sys-types.patch"