Commit 080bd580 authored by Roberto Oliveira's avatar Roberto Oliveira Committed by Timo Teräs

main/lzip: modernize APKBUILD and add check

parent 6305c03b
......@@ -2,28 +2,30 @@
# Maintainer: ScrumpyJack <scrumpyjack@st.ilet.to>
pkgname=lzip
pkgver=1.19
pkgrel=0
pkgrel=1
pkgdesc="Lzip is a lossless data compressor"
url="http://www.nongnu.org/lzip/lzip.html"
arch="all"
license="GPL2+"
depends=""
depends_dev=""
makedepends=""
install=""
subpackages="${pkgname}-doc"
source="http://download.savannah.gnu.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.gz"
subpackages="$pkgname-doc"
source="http://download.savannah.gnu.org/releases/$pkgname/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"
builddir=${srcdir}/${pkgname}-${pkgver}
build() {
cd "${builddir}"
cd "$builddir"
./configure --prefix=/usr
make || return 1
make
}
check() {
cd "$builddir"
make check
}
package() {
cd "${builddir}"
make DESTDIR=${pkgdir} install || return 1
cd "$builddir"
make DESTDIR=$pkgdir install
}
sha512sums="513525c2731334fae99f7a17b1211e7a018446dc211e6ba52a95054e771c9577333a131608cb06a5279da16a4e4877076402b97e97ff6a145c3626fde22d3392 lzip-1.19.tar.gz"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment