aboutsummaryrefslogtreecommitdiffstats
path: root/main/file/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-01-25 17:15:09 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-01-25 17:16:37 +0000
commit3634d7f22a3d9c3910dfc028069596913a0b9033 (patch)
treefe3d10c986e28faea27062f66f50e95f40e502ca /main/file/APKBUILD
parent41d9f3d50660ab5b33a2fcd7bb9454fd4dfd6964 (diff)
downloadaports-3634d7f22a3d9c3910dfc028069596913a0b9033.tar.gz
aports-3634d7f22a3d9c3910dfc028069596913a0b9033.tar.bz2
aports-3634d7f22a3d9c3910dfc028069596913a0b9033.tar.xz
main/file: upgrade to 5.04
Diffstat (limited to 'main/file/APKBUILD')
-rw-r--r--main/file/APKBUILD18
1 files changed, 9 insertions, 9 deletions
diff --git a/main/file/APKBUILD b/main/file/APKBUILD
index 7754f6ced6..06bde75b1a 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"