update to 12.3: file
This commit is contained in:
26
lfs/file-5.46.PKGBUILD
Normal file
26
lfs/file-5.46.PKGBUILD
Normal file
@@ -0,0 +1,26 @@
|
||||
pkgname=file
|
||||
pkgver=5.46
|
||||
pkgdesc='File type identification utility'
|
||||
license=('custom')
|
||||
homepage='https://www.darwinsys.com/file/'
|
||||
sources=("$pkgname-$pkgver.tar.gz")
|
||||
urls=("https://astron.com/pub/$pkgname/${sources[0]}")
|
||||
md5sums=("459da2d4b534801e2e2861611d823864")
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${distdir}/${sources[0]} --strip-components=1
|
||||
}
|
||||
|
||||
src_build() {
|
||||
./configure --prefix=/usr
|
||||
make
|
||||
}
|
||||
|
||||
src_check() {
|
||||
make check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make DESTDIR="$pkgdir" install
|
||||
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
|
||||
}
|
||||
Reference in New Issue
Block a user