diff options
Diffstat (limited to 'main/file/APKBUILD')
-rw-r--r-- | main/file/APKBUILD | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/main/file/APKBUILD b/main/file/APKBUILD index 7754f6ce..06bde75b 100644 --- a/main/file/APKBUILD +++ b/main/file/APKBUILD @@ -1,22 +1,22 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=file -pkgver=5.03 +pkgver=5.04 pkgrel=0 pkgdesc="File type identification utility" url="http://www.darwinsys.com/file/" license="custom" -depends="uclibc zlib" -source="ftp://ftp.astron.com/pub/file/file-$pkgver.tar.gz - nocxx.patch" +depends= +source="ftp://ftp.astron.com/pub/file/file-$pkgver.tar.gz" subpackages="$pkgname-dev $pkgname-doc" -build () -{ +build() { cd "$srcdir"/$pkgname-$pkgver - patch configure < ../nocxx.patch || return 1 ./configure --prefix=/usr --datadir=/usr/share/misc make || return 1 +} + +package() { + cd "$srcdir"/$pkgname-$pkgver make DESTDIR="$pkgdir" install } -md5sums="d05f08a53e5c2f51f8ee6a4758c0cc53 file-5.03.tar.gz -28513788ba4d556ccd538867dc6205ab nocxx.patch" +md5sums="accade81ff1cc774904b47c72c8aeea0 file-5.04.tar.gz" |