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
2013-04-10 20:53:13 +00:00
pkgver=3.0.2
2013-01-12 10:33:22 +00:00
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')
2013-04-10 20:53:13 +00:00
source=(http://projects.gw-computing.net/attachments/download/68/${pkgname}-${pkgver}.tar.gz)
2013-01-12 10:33:22 +00:00
install='dfc.install'
2013-04-10 20:53:13 +00:00
md5sums=('ec26dba0a4efdbe8c520c045a9a05258')
2013-01-12 10:33:22 +00:00
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: