#!/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"
# Website		: https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------

pkgname=make
pkgver=4.3
pkgrel=05
pkgdesc="GNU make utility to maintain groups of programs"
arch=('x86_64')
url="https://www.gnu.org/software/make"
groups=( jobbot )
depends=('glibc' 'guile')
source=("https://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.lz"{,.sig})

build() {
	cd "${pkgname}-${pkgver}"
	./configure --prefix=/usr --disable-dependency-tracking
	make
}

check() {
	cd "${pkgname}-${pkgver}"
	make -k check
}

package() {
	cd "${pkgname}-${pkgver}"
	make DESTDIR="${pkgdir}" install
}

#---- license gpg-key sha256sums ----

license=('GPL3')

validpgpkeys=('6D4EEB02AD834703510B117680CB727A20C79BB2')   # Paul Smith

sha256sums=(de1a441c4edf952521db30bfca80baae86a0ff1acd0a00402999344f04c45e82  # make-4.3.tar.lz
	183f259bc2da1745eb086d17863f61303b100b07e1d8026601904f029bcd717d) # make-4.3.tar.lz.sig

