From 85af419901c5c602ed4dcb7807fb074e5c851d00 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Mon, 21 Aug 2017 01:23:09 -0500 Subject: main/lddtree: mark as not having test suite, modernise --- main/lddtree/APKBUILD | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) (limited to 'main') diff --git a/main/lddtree/APKBUILD b/main/lddtree/APKBUILD index 7430eec56d..aa1e4e455b 100644 --- a/main/lddtree/APKBUILD +++ b/main/lddtree/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa pkgname=lddtree pkgver=1.26 -pkgrel=0 +pkgrel=1 pkgdesc="List dynamic dependencies as a tree" url="https://github.com/ncopa/lddtree" arch="noarch" @@ -12,26 +12,16 @@ replaces="pax-utils" makedepends="$depends_dev" install="" subpackages="" +options="!check" source="lddtree-$pkgver.tar.gz::https://github.com/ncopa/lddtree/archive/v$pkgver.tar.gz " -_builddir="$srcdir"/lddtree-$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" + return 0 } package() { - cd "$_builddir" + cd "$builddir" install -Dm755 lddtree.sh "$pkgdir"/usr/bin/lddtree } -- cgit v1.2.3