From a1142d5d65f4ee33e8879bf81291ab5d86752e8e Mon Sep 17 00:00:00 2001 From: Kiyoshi Aman Date: Fri, 22 Feb 2019 09:56:15 -0600 Subject: user/file: upgrade to 5.36, change to github :( --- system/file/APKBUILD | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'system/file') diff --git a/system/file/APKBUILD b/system/file/APKBUILD index 24d8af2e9..f8ba0ac8c 100644 --- a/system/file/APKBUILD +++ b/system/file/APKBUILD @@ -2,15 +2,20 @@ # Contributor: Natanael Copa # Maintainer: Kiyoshi Aman pkgname=file -pkgver=5.35 +pkgver=5.36 pkgrel=0 pkgdesc="File type identification utility" url="http://www.darwinsys.com/file/" arch="all" license="BSD-2-Clause" subpackages="$pkgname-dev $pkgname-doc libmagic" -source="ftp://ftp.astron.com/pub/$pkgname/$pkgname-$pkgver.tar.gz" -builddir="$srcdir/$pkgname-$pkgver" +source="$pkgname-$pkgver.tar.gz::https://github.com/file/file/archive/FILE${pkgver%.*}_${pkgver#*.}.tar.gz" +builddir="$srcdir/$pkgname-FILE${pkgver%.*}_${pkgver#*.}" + +prepare() { + cd "$builddir" + autoreconf -vif +} build() { cd "$builddir" @@ -38,4 +43,4 @@ libmagic() { mv "$pkgdir"/usr/lib "$pkgdir"/usr/share "$subpkgdir"/usr } -sha512sums="cbecc52e9209be8bc090752d0672efa181625d4e1e688e63edd1f5657b29bad69364a477fb4ed85d1fa413b8002c8578c86153d2acaaecce78446c0ca6ea9e38 file-5.35.tar.gz" +sha512sums="2060219ee5eef286cb2e17bce892401b2e2e411db0f54991899ad895ae535a756c0775168731887ef147e830808dfc8f10f1b87d0a6b3cfaaad4b3e1329ff17e file-5.36.tar.gz" -- cgit v1.2.3-60-g2f50