diff options
author | root <root@rshg054.dnsready.net> | 2013-10-16 00:57:16 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-10-16 00:57:16 -0700 |
commit | c22d00d6478c9a00b4c7e491af65637537247c8f (patch) | |
tree | e6346097789cc44df5dc5e4340ad33ffe507b31c /community/dfc/PKGBUILD | |
parent | 5d8af7c82b707f4cbda87bb0538fef84daf3791b (diff) |
Wed Oct 16 00:56:43 PDT 2013
Diffstat (limited to 'community/dfc/PKGBUILD')
-rw-r--r-- | community/dfc/PKGBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/community/dfc/PKGBUILD b/community/dfc/PKGBUILD new file mode 100644 index 000000000..acf5d560c --- /dev/null +++ b/community/dfc/PKGBUILD @@ -0,0 +1,33 @@ +# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> +# Contributor: Rolinh <robinDOThahlingATgw-computingDOTnet> + +pkgname=dfc +pkgver=3.0.4 +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' 'gettext') +conflicts=('dfc-git') +source=(http://projects.gw-computing.net/attachments/download/79/${pkgname}-${pkgver}.tar.gz) +install='dfc.install' +md5sums=('3b9edc197ad21e1dfe10128d130e626c') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + cmake . -DPREFIX=/usr -DSYSCONFDIR=/etc -DCMAKE_BUILD_TYPE=RELEASE + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + + make DESTDIR="${pkgdir}" install + + install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} + +# vim:set ts=2 sw=2 et: |