PKGBUILDs/community/dfc/PKGBUILD

32 lines
803 B
Bash
Raw Normal View History

2013-01-12 10:33:22 +00:00
# Maintainer: Rolinh <robinDOThahlingATgw-computingDOTnet>
pkgname=dfc
2013-10-11 15:25:50 +00:00
pkgver=3.0.4
2013-10-15 15:50:23 +00:00
pkgrel=2.1
2013-01-12 10:33:22 +00:00
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')
2013-08-20 06:54:15 +00:00
makedepends=('cmake' 'gettext')
2013-01-12 10:33:22 +00:00
conflicts=('dfc-git')
2013-10-11 15:25:50 +00:00
source=(http://projects.gw-computing.net/attachments/download/79/${pkgname}-${pkgver}.tar.gz)
2013-01-12 10:33:22 +00:00
install='dfc.install'
2013-10-11 15:25:50 +00:00
md5sums=('3b9edc197ad21e1dfe10128d130e626c')
2013-01-12 10:33:22 +00:00
build() {
2013-08-20 06:54:15 +00:00
cd "${srcdir}/${pkgname}-${pkgver}"
2013-01-12 10:33:22 +00:00
cmake . -DPREFIX=/usr -DSYSCONFDIR=/etc -DCMAKE_BUILD_TYPE=RELEASE
make
}
package() {
2013-08-20 06:54:15 +00:00
cd "${srcdir}/${pkgname}-${pkgver}"
2013-01-12 10:33:22 +00:00
2013-08-20 06:54:15 +00:00
make DESTDIR="${pkgdir}" install
2013-01-12 10:33:22 +00:00
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
# vim:set ts=2 sw=2 et: