Files
LFS-PKGBUILDs/lfs/m4-1.4.20.PKGBUILD

27 lines
469 B
Plaintext

pkgname=m4
pkgver=1.4.20
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=("6eb2ebed5b24e74b6e890919331d2132")
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
}