aboutsummaryrefslogtreecommitdiffstats
path: root/main/file/APKBUILD
blob: 06bde75b1aa9f4cf9a9723d2607ebfad8372295a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=file
pkgver=5.04
pkgrel=0
pkgdesc="File type identification utility"
url="http://www.darwinsys.com/file/"
license="custom"
depends=
source="ftp://ftp.astron.com/pub/file/file-$pkgver.tar.gz"
subpackages="$pkgname-dev $pkgname-doc"

build() {
	cd "$srcdir"/$pkgname-$pkgver
	./configure --prefix=/usr --datadir=/usr/share/misc
	make || return 1
}

package() {
	cd "$srcdir"/$pkgname-$pkgver
	make DESTDIR="$pkgdir" install
}
md5sums="accade81ff1cc774904b47c72c8aeea0  file-5.04.tar.gz"