diff options
author | Adam Dobrawy <naczelnik@jawnosc.tk> | 2019-05-19 20:30:24 +0200 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2019-05-20 13:03:39 +0000 |
commit | 6f32d8e59d700aa9eb02531db6a4041e80853e21 (patch) | |
tree | ab8d1751f96522110774dab1b3b9909dd584fbc7 | |
parent | 213ada016f2d6e6cd4d1965c64593afe427725b0 (diff) | |
download | aports-6f32d8e59d700aa9eb02531db6a4041e80853e21.tar.bz2 aports-6f32d8e59d700aa9eb02531db6a4041e80853e21.tar.xz |
main/file: upgrade to 5.37
-rw-r--r-- | main/file/APKBUILD | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/main/file/APKBUILD b/main/file/APKBUILD index 26cea2c52d..433245e420 100644 --- a/main/file/APKBUILD +++ b/main/file/APKBUILD @@ -1,15 +1,16 @@ # Contributor: Valery Kartel <valery.kartel@gmail.com> # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=file -pkgver=5.36 -pkgrel=1 +pkgver=5.37 +pkgrel=0 pkgdesc="File type identification utility" url="https://www.darwinsys.com/file" arch="all" license="BSD-2-Clause" +makedepends="autoconf libtool automake" subpackages="$pkgname-dev $pkgname-doc libmagic" -source="ftp://ftp.astron.com/pub/file/$pkgname-$pkgver.tar.gz" -builddir="$srcdir/$pkgname-$pkgver" +source=$pkgname-$pkgver.tar.gz::https://github.com/file/file/archive/FILE${pkgver/./_}.tar.gz +builddir="$srcdir/$pkgname-FILE${pkgver/./_}" # secfixes: # 5.36-r0: @@ -20,7 +21,7 @@ builddir="$srcdir/$pkgname-$pkgver" # - CVE-2019-8907 build() { - cd "$builddir" + SH_LIBTOOL='/usr/share/build-1/libtool' autoreconf -f -i ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -30,12 +31,10 @@ build() { } check() { - cd "$builddir" make check } package() { - cd "$builddir" make DESTDIR="$pkgdir" install } @@ -45,4 +44,4 @@ libmagic() { mv "$pkgdir"/usr/lib "$pkgdir"/usr/share "$subpkgdir"/usr } -sha512sums="3ec5e51ffb7a82defa74845a90fbc983f6e169fc116606049bc01ff6e720d340c8abf6eb7a08b9ac1099162a5c02deac3633b07b039d486344c8abd9052ca751 file-5.36.tar.gz" +sha512sums="9b6ae3dd910a03d2161c91ebc75ac91eb7dbd279563462b77daf902d9ae9f0a70de12c37a498b20c6357d6594059d01841bfd104592107b65c08d8343fca19d2 file-5.37.tar.gz" |