diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2013-11-29 21:24:36 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-12-03 14:39:31 +0000 |
commit | 427652a726bffa053b7d2408e6aaeaf363bceb5a (patch) | |
tree | e6a0dcac3fe69ffd8615beb06c4bbfd4f02df600 /main | |
parent | 756c7e07343dda0e3cd70011ea4c786263899f44 (diff) | |
download | aports-427652a726bffa053b7d2408e6aaeaf363bceb5a.tar.bz2 aports-427652a726bffa053b7d2408e6aaeaf363bceb5a.tar.xz |
main/unarj: add prepare and build section
Diffstat (limited to 'main')
-rw-r--r-- | main/unarj/APKBUILD | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/main/unarj/APKBUILD b/main/unarj/APKBUILD index c82247bde..c4abe3114 100644 --- a/main/unarj/APKBUILD +++ b/main/unarj/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Leonardo Arena <rnalrd@alpinelinux.org> pkgname=unarj pkgver=2.63a -pkgrel=2 +pkgrel=3 pkgdesc="Extracting, testing and viewing the contents of archives created with the ARJ archiver" url="http://www.arjsoftware.com" arch="all" @@ -9,15 +9,25 @@ license="custom" subpackages="" depends="" makedepends="" -install= +install="" source="http://ibiblio.org/pub/Linux/utils/compress/$pkgname-$pkgver.tar.gz" -build () -{ - cd "$srcdir"/${pkgname}-${pkgver} +_builddir="$srcdir"/$pkgname-$pkgver +prepare() { + cd "$_builddir" + return 0 +} + +build() { + cd "$_builddir" make || return 1 +} + +package() { + cd "$_builddir" install -D -m755 unarj $pkgdir/usr/bin/unarj || return 1 - #install -D -m644 ../LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE } md5sums="a83d139c245f911f22cb1b611ec9768f unarj-2.63a.tar.gz" +sha256sums="33f8297aa28911eb684ca83e9e00de04a360ea35603282d91de20aec4eb19a48 unarj-2.63a.tar.gz" +sha512sums="4f8aed311b8626f6bbefc7ad3296c1e69e8c89e79e4b853124502939ca83e2eb0352b64a5b71b2572e948a97a31416e678bc4ce30519631732001cfe7bb983d2 unarj-2.63a.tar.gz" |