PKGBUILDs/extra/di/PKGBUILD

26 lines
869 B
Bash
Raw Normal View History

2009-10-10 02:23:22 +00:00
# $Id: PKGBUILD 52498 2009-09-21 03:12:37Z eric $
# Maintainer: Eric Belanger <eric@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
pkgname=di
pkgver=4.16
pkgrel=1
pkgdesc="A disk information utility, displaying everything (and more) that your df command does"
arch=('i686' 'x86_64')
url="http://www.gentoo.com/di/"
license=('ZLIB')
depends=('glibc')
options=('!makeflags')
source=(http://www.gentoo.com/di/${pkgname}-${pkgver}.tar.gz)
md5sums=('a035972d3f90bc8390b19461156ee4ea')
sha1sums=('51e5c8745353f6673690b60a755e30e6fced764f')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
make || return 1
make prefix="${pkgdir}/usr" install || return 1
ln -sf di "${pkgdir}/usr/bin/mi"
install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
install -D -m644 LICENSE.iffe "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.iffe"
}