mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-06 01:02:26 +01:00
25 lines
607 B
Plaintext
25 lines
607 B
Plaintext
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=file
|
|
pkgver=5.09
|
|
pkgrel=0
|
|
pkgdesc="File type identification utility"
|
|
url="http://www.darwinsys.com/file/"
|
|
arch="all"
|
|
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 || return 1
|
|
rm "$pkgdir"/usr/lib/*.la || return 1
|
|
}
|
|
md5sums="6fd7cd6c4281e68fe9ec6644ce0fac6f file-5.09.tar.gz"
|