30 lines
962 B
Bash
30 lines
962 B
Bash
# Maintainer: Mike Javorski <mike dot javorski at gmail dot com>
|
|
# Contributor: brent s. <bts[at]square-r00t[dot]net>
|
|
# Contributor: Jochen Schalanda <jochen+aur (at) schalanda.name>
|
|
pkgname=debianutils
|
|
pkgver=5.7
|
|
pkgrel=1
|
|
pkgdesc="Miscellaneous utilities specific to Debian"
|
|
arch=('i686' 'x86_64')
|
|
url="http://packages.qa.debian.org/d/debianutils.html"
|
|
license=('GPL')
|
|
depends=('run-parts' 'which')
|
|
source=("http://deb.debian.org/debian/pool/main/d/${pkgname}/${pkgname}_${pkgver}.orig.tar.gz")
|
|
sha512sums=('79acd8885abca93842d696167171a359011c49a40f38deeb25bc94d62905f95afa3a7b2540d3bd4b0ffd363c5c48a439a1a68139a29d6c033980b019cea75d92')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}"
|
|
./configure --prefix=/usr --sbindir=/usr/bin
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}"
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
msg 'Remove files of "which" and "run-parts" package...'
|
|
cd -
|
|
find "${pkgdir}" -name which* -delete
|
|
find "${pkgdir}" -name run-parts* -delete
|
|
}
|