2011-12-28 19:35:58 +08:00
|
|
|
pkgname=debianutils
|
2016-11-30 18:00:15 +08:00
|
|
|
pkgver=4.8.1
|
2011-12-28 19:35:58 +08:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="Utility programs from Debian."
|
|
|
|
url="http://packages.debian.org/source/sid/debianutils"
|
2013-02-17 07:41:50 +08:00
|
|
|
arch=('x86_64')
|
2011-12-28 19:35:58 +08:00
|
|
|
license=('GPL')
|
|
|
|
depends=('glibc')
|
2012-03-16 22:51:37 +08:00
|
|
|
categories=('utils')
|
2015-05-02 17:51:41 +08:00
|
|
|
source=("http://ftp.de.debian.org/debian/pool/main/d/debianutils/debianutils_${pkgver}.tar.xz")
|
2016-11-30 18:00:15 +08:00
|
|
|
sha256sums=('2c395c0bdcfe89de30828b1d25cc5549ded5225a6d3625fbcb2cc0881ef5f026')
|
2011-12-28 19:35:58 +08:00
|
|
|
|
|
|
|
build() {
|
2016-02-26 21:07:40 +08:00
|
|
|
cd "${srcdir}/${pkgname}-$pkgver"
|
2011-12-28 19:35:58 +08:00
|
|
|
./configure --prefix=/usr
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2016-02-26 21:07:40 +08:00
|
|
|
cd "${srcdir}/${pkgname}-$pkgver"
|
2011-12-28 19:35:58 +08:00
|
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
|
|
|
|
msg "Removing files already provided by the \"which\" package..."
|
|
|
|
rm "${pkgdir}/usr/bin/which"
|
|
|
|
find "${pkgdir}/usr/share/man" -name 'which.1' -delete
|
|
|
|
|
|
|
|
msg "Removing files already provided by the \"run-parts\" package..."
|
|
|
|
rm "${pkgdir}/usr/bin/run-parts"
|
|
|
|
find "${pkgdir}/usr/share/man" -name 'run-parts.8' -delete
|
|
|
|
|
|
|
|
msg "Removing the \"installkernel\" utility, which is probably too Debian-specific to work here..."
|
|
|
|
rm "${pkgdir}/usr/sbin/installkernel"
|
|
|
|
find "${pkgdir}/usr/share/man" -name 'installkernel.8' -delete
|
|
|
|
}
|