summaryrefslogtreecommitdiff
path: root/extra/di/PKGBUILD
blob: 260d5f405154a8b05839ae770b2908bce217c651 (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 107485 2011-01-26 04:42:16Z eric $
# Maintainer: Eric Bélanger <eric@archlinux.org>

pkgname=di
pkgver=4.27
pkgrel=1
pkgdesc="A disk information utility, displaying everything (and more) that your df command does"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.gentoo.com/di/"
license=('ZLIB')
depends=('glibc')
options=('!makeflags')
source=(http://www.gentoo.com/di/${pkgname}-${pkgver}.tar.gz)
md5sums=('b1a7ee87b83d72c273558a5ec815bfc3')
sha1sums=('a079258f2a6d1861c0a42761864d3113b384da97')

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"
}