diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-03-19 12:37:42 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-03-19 12:37:42 +0000 |
commit | b557971b9515e4d632864a7868e9035f0c46d8f1 (patch) | |
tree | 841e7532bc4771bc914990a4763a4c6532d2076d /main/lddtree/APKBUILD | |
parent | cac73053f383d5570e683de9a1c4eeb46ee22497 (diff) | |
download | aports-b557971b9515e4d632864a7868e9035f0c46d8f1.tar.bz2 aports-b557971b9515e4d632864a7868e9035f0c46d8f1.tar.xz |
main/lddtree: moved from testing
Diffstat (limited to 'main/lddtree/APKBUILD')
-rw-r--r-- | main/lddtree/APKBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/main/lddtree/APKBUILD b/main/lddtree/APKBUILD new file mode 100644 index 0000000000..51b88ed145 --- /dev/null +++ b/main/lddtree/APKBUILD @@ -0,0 +1,39 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=lddtree +pkgver=1.23 +pkgrel=1 +pkgdesc="List dynamic dependencies as a tree" +url="https://github.com/ncopa/lddtree" +arch="noarch" +license="GPL2" +depends="scanelf" +depends_dev="" +replaces="pax-utils" +makedepends="$depends_dev" +install="" +subpackages="" +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" +} + +package() { + cd "$_builddir" + install -Dm755 lddtree.sh "$pkgdir"/usr/bin/lddtree +} + +md5sums="367233a8d58ff7f95ec111080b3437e1 lddtree-1.23.tar.gz" +sha256sums="80b3359856160290e2dd5d298f1204143c7011448a90c107f65ba1d504897bfa lddtree-1.23.tar.gz" +sha512sums="892372fe1b916ae9ebb788a7eeb8b3c3fddfb65f5133e360e79b2eed4a258611420c5387e0bf00d1e64c8efad4be52c64a11c33b80b7cd31b105b3a469beb87c lddtree-1.23.tar.gz" |