summaryrefslogtreecommitdiff
path: root/system/file/APKBUILD
diff options
context:
space:
mode:
authorKiyoshi Aman <kiyoshi.aman+adelie@gmail.com>2019-02-22 09:56:15 -0600
committerKiyoshi Aman <kiyoshi.aman+adelie@gmail.com>2019-02-22 09:56:15 -0600
commita1142d5d65f4ee33e8879bf81291ab5d86752e8e (patch)
tree4c84360e7e88ec20cad80bebef5fe1c93b59c592 /system/file/APKBUILD
parentd397ab02f9c6c4e5a0ac0a2d5331999d056ae27b (diff)
downloadpackages-a1142d5d65f4ee33e8879bf81291ab5d86752e8e.tar.gz
packages-a1142d5d65f4ee33e8879bf81291ab5d86752e8e.tar.bz2
packages-a1142d5d65f4ee33e8879bf81291ab5d86752e8e.tar.xz
packages-a1142d5d65f4ee33e8879bf81291ab5d86752e8e.zip
user/file: upgrade to 5.36, change to github :(
Diffstat (limited to 'system/file/APKBUILD')
-rw-r--r--system/file/APKBUILD13
1 files changed, 9 insertions, 4 deletions
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 <ncopa@alpinelinux.org>
# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
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"