PKGBUILDs/aur/dfc/PKGBUILD
2013-01-12 11:33:22 +01:00

32 lines
782 B
Bash

# Maintainer: Rolinh <robinDOThahlingATgw-computingDOTnet>
pkgname=dfc
pkgver=3.0.1
pkgrel=1
pkgdesc="Display file system space usage using graphs and colors"
arch=('x86_64' 'i686')
url="http://projects.gw-computing.net/projects/dfc"
license=('BSD')
depends=('glibc')
makedepends=('cmake')
provides=('dfc')
conflicts=('dfc-git')
source=(http://projects.gw-computing.net/attachments/download/67/${pkgname}-${pkgver}.tar.gz)
install='dfc.install'
md5sums=('bb3452662d43a51eb541c66d6fbad576')
build() {
cd ${pkgname}-${pkgver}
cmake . -DPREFIX=/usr -DSYSCONFDIR=/etc -DCMAKE_BUILD_TYPE=RELEASE
make
}
package() {
cd ${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
# vim:set ts=2 sw=2 et: