50 lines
1.4 KiB
Bash
50 lines
1.4 KiB
Bash
#!/usr/bin/bash
|
|
# JOBoRun : Jwm OpenBox Obarun RUNit
|
|
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
|
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname"
|
|
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
|
|
|
pkgname=autoconf
|
|
pkgver=2.71
|
|
pkgrel=02
|
|
pkgdesc="A GNU tool for automatically configuring source code"
|
|
arch=('any')
|
|
url="https://www.gnu.org/software/autoconf"
|
|
groups=('base-devel')
|
|
depends=('awk' 'm4' 'diffutils' 'perl' 'sh')
|
|
checkdepends=('gcc-fortran')
|
|
source=("https://ftp.gnu.org/pub/gnu/${pkgname}/${pkgname}-${pkgver}.tar.xz"{,.sig})
|
|
|
|
build() {
|
|
cd "${pkgname}-${pkgver}"
|
|
./configure --prefix=/usr
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd "${pkgname}-${pkgver}"
|
|
|
|
# test 310 is a false positive due to warning outputted with our build flags
|
|
make check || true
|
|
}
|
|
|
|
package() {
|
|
cd "${pkgname}-${pkgver}"
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
# license exception
|
|
install -Dm644 COPYING.EXCEPTION "$pkgdir"/usr/share/licenses/autoconf/COPYING.EXCEPTION
|
|
|
|
# remove unwanted file
|
|
rm -f "$pkgdir"/usr/share/info/standards.info
|
|
}
|
|
|
|
#---- license gpg-key sha256sums ----
|
|
|
|
license=('GPL2' 'GPL3' 'custom')
|
|
|
|
validpgpkeys=('82F854F3CE73174B8B63174091FCC32B6769AA64') # Zack Weinberg
|
|
|
|
sha256sums=(f14c83cfebcc9427f2c3cea7258bd90df972d92eb26752da4ddad81c87a0faa4 # autoconf-2.71.tar.xz
|
|
f33796ff686c45ee946d5862f46b776cf69cad68bf6861ce20847459a3a18a44) # autoconf-2.71.tar.xz.sig
|
|
|