summaryrefslogtreecommitdiff
path: root/community/dfc
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-10-16 00:57:16 -0700
committerroot <root@rshg054.dnsready.net>2013-10-16 00:57:16 -0700
commitc22d00d6478c9a00b4c7e491af65637537247c8f (patch)
treee6346097789cc44df5dc5e4340ad33ffe507b31c /community/dfc
parent5d8af7c82b707f4cbda87bb0538fef84daf3791b (diff)
Wed Oct 16 00:56:43 PDT 2013
Diffstat (limited to 'community/dfc')
-rw-r--r--community/dfc/PKGBUILD33
-rw-r--r--community/dfc/dfc.install4
2 files changed, 37 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:
diff --git a/community/dfc/dfc.install b/community/dfc/dfc.install
new file mode 100644
index 000000000..30fd1a096
--- /dev/null
+++ b/community/dfc/dfc.install
@@ -0,0 +1,4 @@
+post_install() {
+ echo 'Optional configuration file is located in /etc/xdg/dfc/'
+ echo 'Copy it to ~/.config/dfc/ (create this folder if necessary) if you want to use it.'
+}