pkgs/file/PKGBUILD

28 lines
600 B
Bash

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