PKGBUILDs/aur/dfc/PKGBUILD

33 lines
818 B
Bash
Raw Normal View History

2013-01-12 10:33:22 +00:00
# Maintainer: Rolinh <robinDOThahlingATgw-computingDOTnet>
pkgname=dfc
2013-08-20 06:54:15 +00:00
pkgver=3.0.3
pkgrel=3
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
provides=('dfc')
conflicts=('dfc-git')
2013-08-20 06:54:15 +00:00
source=(http://projects.gw-computing.net/attachments/download/78/${pkgname}-${pkgver}.tar.gz)
2013-01-12 10:33:22 +00:00
install='dfc.install'
2013-08-20 06:54:15 +00:00
md5sums=('c4b2d554f6739502dd6d809966f8c616')
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: