32 lines
720 B
Plaintext
32 lines
720 B
Plaintext
pkgname=autoconf
|
|
pkgver=2.72
|
|
pkgdesc="A GNU tool for automatically configuring source code"
|
|
license=('GPL2' 'GPL3' 'custom')
|
|
homepage="https://www.gnu.org/software/autoconf"
|
|
sources=("${pkgname}-${pkgver}.tar.xz")
|
|
urls=("https://ftp.gnu.org/gnu/${pkgname}/${sources[0]}")
|
|
md5sums=("1be79f7106ab6767f18391c5e22be701")
|
|
|
|
src_prepare() {
|
|
tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1
|
|
}
|
|
|
|
src_build() {
|
|
./configure --prefix=/usr
|
|
make
|
|
}
|
|
|
|
src_check() {
|
|
make check
|
|
}
|
|
|
|
src_install() {
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
install -Dm644 COPYING.EXCEPTION "$pkgdir"/usr/share/licenses/autoconf/COPYING.EXCEPTION
|
|
|
|
# remove unwanted file
|
|
# rm -vf "$pkgdir"/usr/share/info/standards.info
|
|
}
|
|
|