added dfc PKGBUILD from AUR

This commit is contained in:
Robin Hahling 2013-01-12 11:33:22 +01:00
parent 87922d8b6b
commit b4ca81c959
2 changed files with 39 additions and 0 deletions

32
aur/dfc/PKGBUILD Normal file
View file

@ -0,0 +1,32 @@
# Maintainer: Rolinh <robinDOThahlingATgw-computingDOTnet>
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:

7
aur/dfc/dfc.install Normal file
View file

@ -0,0 +1,7 @@
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.'
}
post_upgrade() {
post_install
}