mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-19 15:41:51 +01:00
38 lines
1.3 KiB
Plaintext
38 lines
1.3 KiB
Plaintext
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
|
|
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
|
pkgname=moreutils
|
|
pkgver=0.63
|
|
pkgrel=1
|
|
pkgdesc="A growing collection of the unix tools that nobody thought to write thirty years ago"
|
|
url="https://joeyh.name/code/moreutils/"
|
|
arch="all"
|
|
license="GPL-2.0-or-later"
|
|
depends="perl perl-timedate perl-ipc-run"
|
|
checkdepends="bash"
|
|
makedepends="perl-dev docbook-xsl docbook-xml perl-xml-sax libxslt-dev linux-headers"
|
|
subpackages="$pkgname-doc"
|
|
source="http://ftp.de.debian.org/debian/pool/main/m/moreutils/moreutils_$pkgver.orig.tar.xz
|
|
docbook-xsl.patch"
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd "$builddir"
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make PREFIX=$pkgdir/usr install
|
|
chmod 0644 $pkgdir/usr/share/man/man1/*
|
|
mv $pkgdir/usr/share/man/man1/ts.1 $pkgdir/usr/share/man/man1/ts.1moreutils
|
|
mv $pkgdir/usr/share/man/man1/parallel.1 $pkgdir/usr/share/man/man1/parallel-moreutils.1
|
|
mv $pkgdir/usr/bin/parallel $pkgdir/usr/bin/parallel-moreutils
|
|
}
|
|
|
|
sha512sums="71bd5ec4d265dff708db372189146acb067c4edaf62888755d245ccb3f4b5bb54f6c31bda68991f78c27ab231de8ea7126f947834f3604b60d7142d0357cb66b moreutils_0.63.orig.tar.xz
|
|
38c0088c2c637ac1cc809c16b7a2fb386a67d88a7aca2aef458203de3599fe6258c80ab0b5edfbb534203d71510c4d37abe4ebe23427273a4ccecf305736c9e3 docbook-xsl.patch"
|