mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
33 lines
783 B
Bash
33 lines
783 B
Bash
# Maintainer: Rolinh <robinDOThahlingATgw-computingDOTnet>
|
|
|
|
pkgname=dfc
|
|
pkgver=3.0.2
|
|
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/68/${pkgname}-${pkgver}.tar.gz)
|
|
install='dfc.install'
|
|
md5sums=('ec26dba0a4efdbe8c520c045a9a05258')
|
|
|
|
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:
|