summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7afdd8ffee3cee0a53d584d5f17454a752330a22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Maintainer: Score_Under <seejay 11@gmail com>
pkgname=pdpmake-git
pkgver=1.0.0.2.ge5a9cdd
pkgrel=1
pkgdesc="POSIX-conformant make implementation for testing makefile compatibility"
arch=(x86_64)
license=(Unlicense)
url=https://frippery.org/make/
depends=()
makedepends=(gcc make git)
optdepends=()
source=("git+https://github.com/rmyorston/pdpmake.git")  # Unfortunately, the author's original site is ipv6-only, which makes it inaccessible to much of the UK.
sha256sums=('SKIP')

pkgver() {
  cd "${pkgname%-git}"
  git describe | sed s/-/./g
}

build() {
  cd "${pkgname%-git}"
  make
}

package() {
  cd "${pkgname%-git}"
  install -Dm755 -- make "$pkgdir/usr/bin/pdpmake"
}