summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrederik Schwan2020-07-22 01:33:00 +0200
committerFrederik Schwan2020-07-22 01:33:00 +0200
commitdd9da3c3094a9378ecf26dd14147317290650934 (patch)
treec3d945ea6635e0e0bb3a781034f204a8121ae8f8
downloadaur-dd9da3c3094a9378ecf26dd14147317290650934.tar.gz
initial commit
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD27
2 files changed, 42 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..2e8ac12cfd3
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = siggo
+ pkgdesc = A terminal gui for signal-cli, written in Go.
+ pkgver = 0.5.0
+ pkgrel = 1
+ url = https://github.com/derricw/siggo
+ arch = x86_64
+ license = GPL3
+ makedepends = go
+ depends = libmatthew-unix-java
+ depends = signal-cli
+ source = https://github.com/derricw/siggo/archive/0.5.0/siggo-0.5.0.tar.gz
+ b2sums = eba16004968285852c76ad21638d779cdafd1d1960daaa17171b66f57e292e2e1fbeb4264640ac66589dde9b5ce12010d1f73cb2b81ef76a91e7a0274e1da71d
+
+pkgname = siggo
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..b84f61449e1
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,27 @@
+# Maintainer: Frederik Schwan <freswa at archlinux dot org>
+
+pkgname=siggo
+pkgver=0.5.0
+pkgrel=1
+pkgdesc='A terminal gui for signal-cli, written in Go.'
+arch=('x86_64')
+url='https://github.com/derricw/siggo'
+license=('GPL3')
+depends=('libmatthew-unix-java' 'signal-cli')
+makedepends=('go')
+source=("https://github.com/derricw/${pkgname}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+b2sums=('eba16004968285852c76ad21638d779cdafd1d1960daaa17171b66f57e292e2e1fbeb4264640ac66589dde9b5ce12010d1f73cb2b81ef76a91e7a0274e1da71d')
+
+build() {
+ cd ${pkgname}-${pkgver}
+ export CGO_LDFLAGS="${LDFLAGS}"
+ export CGO_CFLAGS="${CFLAGS}"
+ export CGO_CPPFLAGS="${CPPFLAGS}"
+ export CGO_CXXFLAGS="${CXXFLAGS}"
+ export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
+ go build .
+}
+
+package() {
+ install -Dm755 -t "${pkgdir}"/usr/bin/ "${srcdir}"/${pkgname}-${pkgver}/siggo
+}