aboutsummaryrefslogtreecommitdiffstats
path: root/main/file/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/file/APKBUILD')
-rw-r--r--main/file/APKBUILD9
1 files changed, 5 insertions, 4 deletions
diff --git a/main/file/APKBUILD b/main/file/APKBUILD
index d44ca175a..21a1477e1 100644
--- a/main/file/APKBUILD
+++ b/main/file/APKBUILD
@@ -1,17 +1,16 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=file
pkgver=5.19
-pkgrel=0
+pkgrel=1
pkgdesc="File type identification utility"
url="http://www.darwinsys.com/file/"
arch="all"
-license="custom"
-depends=
+license="BSD"
+depends=""
source="ftp://ftp.astron.com/pub/file/file-$pkgver.tar.gz"
subpackages="$pkgname-dev $pkgname-doc"
_builddir="$srcdir/$pkgname-$pkgver"
-
prepare() {
cd "$_builddir"
update_config_sub || return 1
@@ -26,6 +25,7 @@ build() {
--datadir=/usr/share \
|| return 1
make || return 1
+ make tests || return 1
}
package() {
@@ -33,6 +33,7 @@ package() {
make DESTDIR="$pkgdir" install || return 1
rm "$pkgdir"/usr/lib/*.la || return 1
}
+
md5sums="e3526f59023f3f7d1ffa4d541335edab file-5.19.tar.gz"
sha256sums="9484b3bbda1acc7b13a4f71031a85ce10c77bd0ffec7226741a219ef587e3a7c file-5.19.tar.gz"
sha512sums="f897454f731b013634f38c02c927d7fb5d0660d5b1a81b7bf614da244558dd64ae44ab35ffc6a5e634a7f670ee287c0e87c70e44266c3123e0d1b73fa303c6ed file-5.19.tar.gz"