diff options
author | André Klitzing <aklitzing@gmail.com> | 2017-02-10 22:03:07 +0100 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2017-02-12 16:48:18 +0100 |
commit | 60224c6f3916bfb43c7d8590a31ee3aae2d53049 (patch) | |
tree | 582b2124bc6e557cde64f90aa86cc6ceca037ebe /main/file | |
parent | 9035f44c659b415ba2038218054bcc08b4b5d22a (diff) | |
download | aports-60224c6f3916bfb43c7d8590a31ee3aae2d53049.tar.bz2 aports-60224c6f3916bfb43c7d8590a31ee3aae2d53049.tar.xz |
main/file: upgrade to 5.30 and improve abuild
Diffstat (limited to 'main/file')
-rw-r--r-- | main/file/APKBUILD | 23 |
1 files changed, 5 insertions, 18 deletions
diff --git a/main/file/APKBUILD b/main/file/APKBUILD index fbdb5bbbb8..2e79d7025f 100644 --- a/main/file/APKBUILD +++ b/main/file/APKBUILD @@ -1,29 +1,18 @@ # Contributor: Valery Kartel <valery.kartel@gmail.com> # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=file -pkgver=5.28 +pkgver=5.30 pkgrel=0 pkgdesc="File type identification utility" url="http://www.darwinsys.com/file/" arch="all" license="BSD" -depends="" subpackages="$pkgname-dev $pkgname-doc libmagic" source="ftp://ftp.astron.com/pub/$pkgname/$pkgname-$pkgver.tar.gz" - -_builddir="$srcdir"/$pkgname-$pkgver -prepare() { - cd "$_builddir" - update_config_sub || return 1 - 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 \ --build=$CBUILD \ --host=$CHOST \ @@ -35,7 +24,7 @@ build() { } package() { - cd "$_builddir" + cd "$builddir" make DESTDIR="$pkgdir" install || return 1 } @@ -45,6 +34,4 @@ libmagic() { mv "$pkgdir"/usr/lib "$pkgdir"/usr/share "$subpkgdir"/usr } -md5sums="3f7771424aa855f32094b49571e19b33 file-5.28.tar.gz" -sha256sums="0ecb5e146b8655d1fa84159a847ee619fc102575205a0ff9c6cc60fc5ee2e012 file-5.28.tar.gz" -sha512sums="42136505e21b14396e3af4e0d3f349687176cf0771d2dc9fed3599a30c7bab59184459f1e51033bce2d6ee0e292eba034bdfda727decca1219c1b3419e6bbfdc file-5.28.tar.gz" +sha512sums="473ee57517b449bae0832c17c9db914162c2404f0c669951f13a53f44ae288e6075907bac44fcfa8915f3d9313981a8bc15ea7e9851f584f95988bc76b2f20fc file-5.30.tar.gz" |