#!/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.4.1
pkgrel=02
pkgdesc="GNU make utility to maintain groups of programs"
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
}

#---- arch license gpg-key & sha256sums ----

arch=(x86_64)

license=('GPL3')

validpgpkeys=('6D4EEB02AD834703510B117680CB727A20C79BB2')   # Paul Smith

sha256sums=(8814ba072182b605d156d7589c19a43b89fc58ea479b9355146160946f8cf6e9  # make-4.4.1.tar.lz
	ce4acf9c93e686a8e365f4adc21e8c36575ef9bbeeb2bd8437f215005078a14f) # make-4.4.1.tar.lz.sig

##  07d9b6fd0a333bad141b593dabc0dc35a1e39c0863a7b9326ee57931011a381b  make-4.4.1-02-x86_64.pkg.tar.lz

