diff options
author | Roberto Oliveira <robertoguimaraes8@gmail.com> | 2017-08-26 21:51:58 +0000 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2017-08-28 06:43:01 +0000 |
commit | f663b542050a783521394819f10f12162a9e52bc (patch) | |
tree | b087874b871b0571e85a43e0d2e9f7fc0af7030c /main | |
parent | 88599fd76808ee41b5b771e04460ffbe7a0360c1 (diff) | |
download | aports-f663b542050a783521394819f10f12162a9e52bc.tar.bz2 aports-f663b542050a783521394819f10f12162a9e52bc.tar.xz |
main/cd-discid: modernize APKBUILD
Diffstat (limited to 'main')
-rw-r--r-- | main/cd-discid/APKBUILD | 28 |
1 files changed, 7 insertions, 21 deletions
diff --git a/main/cd-discid/APKBUILD b/main/cd-discid/APKBUILD index b62b7c5e5f..1ef8187930 100644 --- a/main/cd-discid/APKBUILD +++ b/main/cd-discid/APKBUILD @@ -1,39 +1,25 @@ # Maintainer: Peter Bui <pnutzh4x0r@gmail.com> pkgname=cd-discid pkgver=1.4 -pkgrel=0 +pkgrel=1 pkgdesc="A backend utility to get CDDB discid information from a CD-ROM disc" url="http://linukz.org/cd-discid.shtml" arch="all" license="GPL2" -depends="" -depends_dev="" -makedepends="$depends_dev linux-headers" -install="" +makedepends="linux-headers" subpackages="$pkgname-doc" source="http://linukz.org/download/${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" - make || return 1 + cd "$builddir" + make } package() { - cd "$_builddir" - make DESTDIR="${pkgdir}" PREFIX=/usr install || return 1 + cd "$builddir" + make DESTDIR="${pkgdir}" PREFIX=/usr install } -md5sums="85027b71d08fbbfb11ac2f0db6e8cea7 cd-discid-1.4.tar.gz" -sha256sums="ffd68cd406309e764be6af4d5cbcc309e132c13f3597c6a4570a1f218edd2c63 cd-discid-1.4.tar.gz" sha512sums="04f3962f7f3f0780c41b2f361397b54efe9c9748643d83311d63f7476d28f9bd295b96dd81f06df2c1e7d6ef095c6732107101c0fb7375fa521f4db67a3984da cd-discid-1.4.tar.gz" |