summaryrefslogtreecommitdiff
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 0000000..2c67680
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Gabriel Jensen
+pkgname=procyon
+pkgver=0.0.0
+pkgrel=1
+pkgdesc=""
+arch=("any")
+url="https://mandelbrot.dk/${pkgname}"
+makedepends=("git")
+source=("git+https://mandelbrot.dk/${pkgname}")
+license=("custom")
+sha512sums=("SKIP")
+pkgver() {
+ cd "${srcdir}/${pkgname}"
+ printf "%s.0.0" "$(git describe --abbrev=0)"
+}
+build() {
+ cd "${srcdir}/${pkgname}"
+ make -C"${pkgname}" -j$(($(nproc) + 0x1))
+}
+package() {
+ cd "${srcdir}/${pkgname}"
+ mkdir -pm755 "${pkgdir}/usr/bin"
+ install -m755 "${pkgname}/procyon.elf" "${pkgdir}/usr/bin/procyon"
+}
+