diff options
Diffstat (limited to 'main/file/APKBUILD')
-rw-r--r-- | main/file/APKBUILD | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/main/file/APKBUILD b/main/file/APKBUILD index d52f604543..5770150527 100644 --- a/main/file/APKBUILD +++ b/main/file/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=file pkgver=5.31 -pkgrel=0 +pkgrel=1 pkgdesc="File type identification utility" url="http://www.darwinsys.com/file/" arch="all" @@ -17,15 +17,18 @@ build() { --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ - --datadir=/usr/share \ - || return 1 - make || return 1 - make tests || return 1 + --datadir=/usr/share + make +} + +check() { + cd "$builddir" + make check } package() { cd "$builddir" - make DESTDIR="$pkgdir" install || return 1 + make DESTDIR="$pkgdir" install } libmagic() { |