APKBUILD 865 Bytes
Newer Older
Natanael Copa's avatar
Natanael Copa committed
1 2
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=lddtree
3 4
pkgver=1.26
pkgrel=0
5
pkgdesc="List dynamic dependencies as a tree"
Natanael Copa's avatar
Natanael Copa committed
6 7 8 9 10
url="https://github.com/ncopa/lddtree"
arch="noarch"
license="GPL2"
depends="scanelf"
depends_dev=""
11
replaces="pax-utils"
Natanael Copa's avatar
Natanael Copa committed
12 13 14
makedepends="$depends_dev"
install=""
subpackages=""
15 16
source="lddtree-$pkgver.tar.gz::https://github.com/ncopa/lddtree/archive/v$pkgver.tar.gz
	"
Natanael Copa's avatar
Natanael Copa committed
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37

_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"
}

package() {
	cd "$_builddir"
	install -Dm755 lddtree.sh "$pkgdir"/usr/bin/lddtree
}

38
sha512sums="9c244cf47627e6cfb396f4187e7c35b438bcb8e3978e43a91ad5a5d034233eaaffd1319e98b6a26b8bbcb570ede3eeb809a14720b50771587a96dde5f6516340  lddtree-1.26.tar.gz"