diff options
author | Jonas Heinrich | 2018-09-06 21:20:27 +0200 |
---|---|---|
committer | Jonas Heinrich | 2018-09-06 21:20:27 +0200 |
commit | ed5f02e9c179c83c9a8e35730b33c770b1237244 (patch) | |
tree | 3d623e844c285abaedfcc6f1b36000f63844c583 | |
download | aur-ed5f02e9c179c83c9a8e35730b33c770b1237244.tar.gz |
first commit
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 29 |
2 files changed, 42 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..b9111209cee1 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,13 @@ +# Generated by mksrcinfo v8 +# Thu Sep 6 19:20:20 UTC 2018 +pkgbase = signal-web-gateway-git + pkgdesc = Use Signal as a web gateway for other apps (reporting, monitoring, etc.) + pkgver = 0.1 + pkgrel = 1 + url = https://gitlab.com/morph027/signal-web-gateway + arch = x86_64 + license = MIT + makedepends = go + +pkgname = signal-web-gateway-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..d199645544be --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +# $Id$ +# Maintainer: Jonas Heinrich <onny@project-insanity.org> +# Contributor: Jonas Heinrich <onny@project-insantiy.org> + +pkgname=signal-web-gateway-git +pkgver=0.1 +pkgrel=1 +pkgdesc="Use Signal as a web gateway for other apps (reporting, monitoring, etc.)" +arch=('x86_64') +url="https://gitlab.com/morph027/signal-web-gateway" +license=('MIT') +makedepends=('go') +_gourl=github.com/morph027/textsecure + +build() { + GOPATH="$srcdir" go get -v ${_gourl}/... # -fix -x +} + +package() { + install -Dm755 "$srcdir/bin/azure-storage-azcopy" "$pkgdir/usr/bin/azcopy" + + # Package license (if available) + for f in LICENSE COPYING LICENSE.* COPYING.*; do + if [ -e "$srcdir/src/$_gourl/$f" ]; then + install -Dm644 "$srcdir/src/$_gourl/$f" \ + "$pkgdir/usr/share/licenses/$pkgname/$f" + fi + done +} |