# Maintainer: Erich Eckner <arch at eckner dot net>
pkgname=ewemake
_srcpkgname='Make'
pkgver=1.2.3
pkgrel=3
pkgdesc="somewhat more powerfull alternative to 'make'"
arch=('x86_64' 'i686' 'pentium4')
url="https://git.eckner.net/Erich/Make"
license=('GPL')
groups=()
_pinned_dependencies=(
  'glibc>=2.31'
  'gmp=6.2.1'
)
depends=('bash' "${_pinned_dependencies[@]}")
makedepends=('fpc' 'fpc-src-ewetools')
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
options=()
source=(
    "https://git.eckner.net/Erich/${_srcpkgname}/snapshot/${_srcpkgname}-${pkgver}.tar.xz"
)
sha512sums=('a95f4317ee13733721c82219f7bb7671a969710703b1b11b36a112d3f9467a50bea88ea7fe8f2802389dbd4dfb6a22a227ac237491389a93751a9bd302fba29f')

build() {

    cd ${_srcpkgname}-${pkgver}
    make

}

package() {

    cd ${_srcpkgname}-${pkgver}
    make DESTDIR=$pkgdir install

}