pkgs/file/PKGBUILD

29 lines
600 B
Text
Raw Normal View History

2023-12-05 04:47:04 +00:00
# Maintainer: Daryl Ronningen <relms@relms.dev>
pkgname=file
pkgver=5.45
pkgrel=1
2023-12-08 02:05:38 +00:00
pkgdesc="File type identification utility"
arch=("x86_64")
url="https://www.darwinsys.com/file/"
license=("custom")
2023-12-11 13:18:00 +00:00
depends=("lzlib" "zstd" "xz" "bzip2" "zlib-ng" "libseccomp")
2023-12-05 04:47:04 +00:00
source=("https://astron.com/pub/$pkgname/$pkgname-$pkgver.tar.gz")
2023-12-08 02:05:38 +00:00
sha256sums=("fc97f51029bb0e2c9f4e3bffefdaf678f0e039ee872b9de5c002a6d09c784d82")
2023-12-05 04:47:04 +00:00
build() {
2023-12-08 02:05:38 +00:00
cd $pkgname-$pkgver
2023-12-05 04:47:04 +00:00
2023-12-08 02:05:38 +00:00
./configure \
--prefix=/usr \
--datadir=/usr/share/file \
--enable-fsect-man5
2023-12-05 04:47:04 +00:00
2023-12-08 02:05:38 +00:00
make
2023-12-05 04:47:04 +00:00
}
package() {
2023-12-08 02:05:38 +00:00
cd $pkgname-$pkgver
make DESTDIR=$pkgdir install
2023-12-05 04:47:04 +00:00
}