aboutsummaryrefslogtreecommitdiffstats
path: root/testing/lbzip2
diff options
context:
space:
mode:
authorRoberto Oliveira <robertoguimaraes8@gmail.com>2017-08-06 00:56:24 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2017-08-10 08:19:58 +0000
commit7b9fbecfdfcd45d6b2141a3cd16d6a3591f0be22 (patch)
tree7b782925830648c1077f7436b8ed0b32078f5c8a /testing/lbzip2
parentb1384db7d2e4614c9a99b980e9f781786edcb87b (diff)
downloadaports-7b9fbecfdfcd45d6b2141a3cd16d6a3591f0be22.tar.bz2
aports-7b9fbecfdfcd45d6b2141a3cd16d6a3591f0be22.tar.xz
testing/lbzip2: modernize APKBUILD
Diffstat (limited to 'testing/lbzip2')
-rw-r--r--testing/lbzip2/APKBUILD21
1 files changed, 3 insertions, 18 deletions
diff --git a/testing/lbzip2/APKBUILD b/testing/lbzip2/APKBUILD
index 0a1d5b0088..f4bfd193d1 100644
--- a/testing/lbzip2/APKBUILD
+++ b/testing/lbzip2/APKBUILD
@@ -7,34 +7,19 @@ pkgdesc="A parallel bzip2 compression utility"
url="http://lbzip2.org"
arch="all"
license="GPL2+"
-depends=""
-depends_dev=""
-makedepends="$depends_dev"
-install=""
subpackages="$pkgname-doc"
source="http://archive.lbzip2.org/$pkgname-$pkgver.tar.gz"
-_builddir="$srcdir"/$pkgname-$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
-}
+builddir="$srcdir"/$pkgname-$pkgver
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure --prefix=/usr
make
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make DESTDIR="$pkgdir/" install
}
-md5sums="3ea4796a9c3941cef1dce1fa7f5b7410 lbzip2-2.5.tar.gz"
-sha256sums="46c75ee93cc95eedc6005625442b2b8e59a2bef3ba80987d0491f055185650e9 lbzip2-2.5.tar.gz"
sha512sums="76e96cfa75b3ed515b2f891349dffc1403daab2dd0a2a614fa0c811cec6ca25faa395da08ad68a9b6ba4069332c4571f70fb7424f06ef3d800c3082c08d7d3d7 lbzip2-2.5.tar.gz"