Files
LFS-PKGBUILDs/lfs/m4-1.4.19.PKGBUILD
2025-03-18 23:28:18 -04:00

27 lines
469 B
Plaintext

pkgname=m4
pkgver=1.4.19
pkgdesc="The GNU macro processor"
homepage="https://www.gnu.org/software/m4"
license=('GPL3')
sources=("${pkgname}-${pkgver}.tar.xz")
urls=("https://ftp.gnu.org/gnu/m4/${sources[0]}")
md5sums=("0d90823e1426f1da2fd872df0311298d")
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
}
src_build() {
./configure --prefix=/usr
make
}
src_check() {
make check
}
src_install() {
make prefix="${pkgdir}"/usr install
}