summaryrefslogtreecommitdiff
path: root/extra/di/PKGBUILD
blob: 37cd0d056318b7b1196f6c827d21cd757fb80a60 (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
# $Id: PKGBUILD 143044 2011-11-21 22:39:45Z eric $
# Maintainer: Eric Bélanger <eric@archlinux.org>

pkgname=di
pkgver=4.31
pkgrel=1.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')
source=(http://www.gentoo.com/di/${pkgname}-${pkgver}.tar.gz)
sha1sums=('2a7212e03286b68ebb4783ae8937999145165c79')

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