jobcore/m4/PKGBUILD

46 lines
1.2 KiB
Bash

#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://git.disroot.org/joborun-pkg/jobcore/src/branch/main/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=m4
pkgver=1.4.19
pkgrel=03
pkgdesc="The GNU macro processor"
url="https://www.gnu.org/software/m4"
groups=( jobbot )
depends=('glibc' 'bash')
makedepends=('diffutils')
source=("https://ftp.gnu.org/gnu/m4/$pkgname-$pkgver.tar.xz"{,.sig})
build() {
cd "$pkgname-$pkgver"
./configure --prefix=/usr
make
}
check() {
cd "$pkgname-$pkgver"
make check
}
package() {
cd "$pkgname-$pkgver"
make prefix="${pkgdir}"/usr install
}
#---- arch license gpg-key & sha256sums ----
arch=(x86_64)
license=('GPL3')
validpgpkeys=('71C2CC22B1C4602927D2F3AAA7A16B4A2527436A') # Eric Blake
sha256sums=(63aede5c6d33b6d9b13511cd0be2cac046f2e70fd0a07aa9573a04a82783af96 # m4-1.4.19.tar.xz
9700ba4dca539b06e033b4e3ab37fa5b983becb6c14569a8b8aa02dee6ab666c) # m4-1.4.19.tar.xz.sig
## f345f75fbca2743cb97347b20bfbf5e516d8878bd8c189ab3ff5584199854f61 m4-1.4.19-03-x86_64.pkg.tar.lz