diff options
author | Pierre Carrier <pierre@gcarrier.fr> | 2015-01-27 15:28:27 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-01-30 10:20:27 +0000 |
commit | f2dc74fdc1d5f646799a96dd275073562f9fcd10 (patch) | |
tree | e7e8950d8d88bcd20e82e0dfad94ad72e1b72c98 /testing/dfc | |
parent | cf7e70cd894ff4bf180b4443b1f1e66ca1334b49 (diff) | |
download | aports-f2dc74fdc1d5f646799a96dd275073562f9fcd10.tar.bz2 aports-f2dc74fdc1d5f646799a96dd275073562f9fcd10.tar.xz |
Initial APKBUILD of dfc
Diffstat (limited to 'testing/dfc')
-rw-r--r-- | testing/dfc/APKBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/testing/dfc/APKBUILD b/testing/dfc/APKBUILD new file mode 100644 index 0000000000..db6ed88b76 --- /dev/null +++ b/testing/dfc/APKBUILD @@ -0,0 +1,40 @@ +# Contributor: Pierre Carrier <pierre@gcarrier.fr> +# Maintainer: Pierre Carrier <pierre@gcarrier.fr> +pkgname=dfc +pkgver=3.0.5 +pkgrel=0 +pkgdesc="displays file system space usage using graphs and colors." +url="http://projects.gw-computing.net/projects/dfc" +arch="all" +license="BSD" +makedepends="cmake" +source="http://projects.gw-computing.net/attachments/download/467/dfc-$pkgver.tar.gz" + +_builddir="$srcdir"/dfc-$pkgver +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + cmake . -DCMAKE_BUILD_TYPE=Release \ + -DPREFIX=/usr \ + -DSYSCONFDIR=/etc \ + || return 1 + make +} + +package() { + cd "$_builddir" + make install/fast DESTDIR="$pkgdir" +} + +md5sums="3e6443c54966751f5e9fdaca33d873d1 dfc-3.0.5.tar.gz" +sha256sums="3c947a1d6bc53347b1643921dcbf4c6f8fe7eb6167fc1f4e9436366f036d857a dfc-3.0.5.tar.gz" +sha512sums="f828ede8aee0a496518d1ee9583ba71495cdd01ee0d22833e3b46aeb5f5f870ce7de629923d129a7bf795b458feec10f9a16882134dae34dd2ace7ea9eebb134 dfc-3.0.5.tar.gz" |