PKGBUILDs/aur/dfc/PKGBUILD

34 lines
783 B
Bash
Raw Normal View History

2013-01-12 10:33:22 +00:00
# Maintainer: Rolinh <robinDOThahlingATgw-computingDOTnet>
2013-01-12 10:33:22 +00:00
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: