aboutsummaryrefslogtreecommitdiffstats
path: root/main/ncdu
diff options
context:
space:
mode:
authordai9ah <dai9ah@protonmail.com>2018-03-02 22:44:05 +0000
committerJakub Jirutka <jakub@jirutka.cz>2018-03-03 00:42:49 +0100
commit696f422d8dffdc1259bf70093f20e8cc2db6d974 (patch)
tree0d4a48cf5df6549c890013b52c6a683960de9006 /main/ncdu
parent76127c5c9632c3084cdd3b824af4e4b3049c9557 (diff)
downloadaports-696f422d8dffdc1259bf70093f20e8cc2db6d974.tar.bz2
aports-696f422d8dffdc1259bf70093f20e8cc2db6d974.tar.xz
main/ncdu: upgrade to 1.13, modernize, add trivial check
Diffstat (limited to 'main/ncdu')
-rw-r--r--main/ncdu/APKBUILD19
1 files changed, 10 insertions, 9 deletions
diff --git a/main/ncdu/APKBUILD b/main/ncdu/APKBUILD
index e7892b7d70..3b6a438585 100644
--- a/main/ncdu/APKBUILD
+++ b/main/ncdu/APKBUILD
@@ -1,13 +1,12 @@
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=ncdu
-pkgver=1.12
+pkgver=1.13
pkgrel=0
pkgdesc="Text-based disk usage viewer"
url="https://dev.yorhel.nl/ncdu"
arch="all"
license="MIT"
-depends=""
makedepends="ncurses-dev"
subpackages="$pkgname-doc"
source="http://dev.yorhel.nl/download/$pkgname-$pkgver.tar.gz"
@@ -20,16 +19,18 @@ build() {
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
- --mandir=/usr/share/man \
- || return 1
- make || return 1
+ --mandir=/usr/share/man
+ make
+}
+
+check() {
+ cd "$builddir"
+ ./ncdu -h > /dev/null
}
package() {
cd "$builddir"
- make DESTDIR="$pkgdir" install || return 1
+ make DESTDIR="$pkgdir" install
}
-md5sums="7365ac46c420bc511621216b1747984f ncdu-1.12.tar.gz"
-sha256sums="820e4e4747a2a2ec7a2e9f06d2f5a353516362c22496a10a9834f871b877499a ncdu-1.12.tar.gz"
-sha512sums="20620dd79d2af878442769e097f13806f64f23875dcb85ebccd573a3de43aba5663d496049b64015d13f9a79d624298032c008ef61dfb6f61d8b12902b8dca12 ncdu-1.12.tar.gz"
+sha512sums="f1f417caa9bd9e9d9aa6311962b461e48301cf9eab5d0f57073e25df01f96ded05dd093627b95b43afc659ad99aed869efd4a98d723f5835b100747b5525a60c ncdu-1.13.tar.gz"