summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD31
2 files changed, 50 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..88631da0a84
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = goredo
+ pkgdesc = Go implementation of djb's redo, a Makefile replacement that sucks less
+ pkgver = 0.10.0
+ pkgrel = 1
+ url = http://www.goredo.cypherpunks.ru/
+ arch = x86_64
+ arch = i686
+ arch = aarch64
+ license = GPL3
+ makedepends = git
+ makedepends = go>=1.14
+ source = http://www.goredo.cypherpunks.ru//download/goredo-0.10.0.tar.zst.sig
+ source = http://www.goredo.cypherpunks.ru//download/goredo-0.10.0.tar.zst
+ validpgpkeys = 7531BB84FAF0BF35960C63B93A528DDE952C7E93
+ sha256sums = SKIP
+ sha256sums = 4b600d9948d71b029e582fcb452a7ac6df22f53867fc3c4a404091122c1c9d08
+
+pkgname = goredo
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..8fb0455c38d
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Kai Hendry <hendry@iki.fi>
+# http://www.goredo.cypherpunks.ru/Install.html
+
+pkgname=goredo
+pkgver=0.10.0
+pkgrel=1
+pkgdesc="Go implementation of djb's redo, a Makefile replacement that sucks less"
+url=http://www.goredo.cypherpunks.ru/
+arch=('x86_64' 'i686' 'aarch64')
+license=('GPL3')
+
+makedepends=('git' 'go>=1.14')
+
+validpgpkeys=('7531BB84FAF0BF35960C63B93A528DDE952C7E93')
+source=("${url}/download/${pkgname}-${pkgver}.tar.zst.sig"
+ "${url}/download/${pkgname}-${pkgver}.tar.zst")
+sha256sums=('SKIP'
+ '4b600d9948d71b029e582fcb452a7ac6df22f53867fc3c4a404091122c1c9d08')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ export GOPATH=`pwd`
+ go build -o "dist/${pkgname}" go.cypherpunks.ru/goredo
+}
+
+package() {
+ rm -f "${pkgdir}/usr/bin/${pkgname}"
+ install -Dm755 "${srcdir}/${pkgname}-${pkgver}/dist/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
+ cd "${pkgdir}/usr/bin/"
+ ./goredo -symlinks
+}