mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
32 lines
818 B
Bash
32 lines
818 B
Bash
# Maintainer: Rolinh <robinDOThahlingATgw-computingDOTnet>
|
|
pkgname=dfc
|
|
pkgver=3.0.3
|
|
pkgrel=3
|
|
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')
|
|
provides=('dfc')
|
|
conflicts=('dfc-git')
|
|
source=(http://projects.gw-computing.net/attachments/download/78/${pkgname}-${pkgver}.tar.gz)
|
|
install='dfc.install'
|
|
md5sums=('c4b2d554f6739502dd6d809966f8c616')
|
|
|
|
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:
|