diff options
author | buffet | 2021-05-20 13:48:45 +0000 |
---|---|---|
committer | buffet | 2021-05-20 13:52:17 +0000 |
commit | ab282c8134712481e8a6dcbf4da18a5d9aedfaec (patch) | |
tree | 1cb0f6b21c3c43f0b3b96d6223897fa8a96e7e52 | |
download | aur-ats-acc.tar.gz |
Init at 20181020
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 31 |
2 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..54c9d1ea345c --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = ats-acc + pkgdesc = Pretty-print error messages of the ATS Compiler + pkgver = r23.2d49f4e + pkgrel = 1 + url = https://github.com/sparverius/ats-acc + arch = i686 + arch = x86_64 + license = NONE + depends = ats2-postiats + provides = ats-acc + conflicts = ats-acc + source = ats-acc-git::git+https://github.com/sparverius/ats-acc.git + sha256sums = SKIP + +pkgname = ats-acc-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..6f3255355e66 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: Niclas Meyer <niclas at countingsort dot com> + +pkgbase=ats-acc +pkgname=$pkgbase-git +pkgver=r23.2d49f4e +pkgrel=1 +pkgdesc="Pretty-print error messages of the ATS Compiler " +arch=('i686' 'x86_64') +url="https://github.com/sparverius/ats-acc" +license=('NONE') +depends=('ats2-postiats') +makedepends=() +provides=('ats-acc') +conflicts=('ats-acc') +source=("${pkgname}::git+https://github.com/sparverius/ats-acc.git") +sha256sums=('SKIP') + +pkgver() { + cd "${srcdir}/${pkgname}" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +build() { + cd "${srcdir}/${pkgname}" + make +} + +package() { + cd "${srcdir}/${pkgname}" + install -Dm 755 acc $pkgdir/usr/bin/acc +} |