aboutsummaryrefslogtreecommitdiffstats
path: root/main/file
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2014-08-19 06:54:49 +0000
committerFabian Affolter <fabian@affolter-engineering.ch>2014-08-21 07:53:26 +0000
commitc557b9b358d945c754d2531e49abe9a5d7abd673 (patch)
treefb4490c444d683a2f948af3881eb22ca4c453184 /main/file
parent78b12e37cbd4a173d0992d09708dd93982b7a4d1 (diff)
downloadaports-c557b9b358d945c754d2531e49abe9a5d7abd673.tar.bz2
aports-c557b9b358d945c754d2531e49abe9a5d7abd673.tar.xz
main/file: specify license and enable tests
Diffstat (limited to 'main/file')
-rw-r--r--main/file/APKBUILD9
1 files changed, 5 insertions, 4 deletions
diff --git a/main/file/APKBUILD b/main/file/APKBUILD
index d44ca175a5..21a1477e1f 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"