summaryrefslogtreecommitdiff
path: root/extra/di/PKGBUILD
blob: d0437cfc73333cad42a19fe84d452381d447c237 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# $Id: PKGBUILD 137944 2011-09-12 21:48:44Z eric $
# Maintainer: Eric Bélanger <eric@archlinux.org>

pkgname=di
pkgver=4.28
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=('8f56121562ac3ca05b48c0827ec0d48d')
sha1sums=('b65c7fa10d8d319107a26036daaa95803b3ecb1e')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make INSTALL_DIR="${pkgdir}/usr" install
  install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}