diff options
author | Julien Nicoulaud | 2018-12-07 20:08:51 +0100 |
---|---|---|
committer | Julien Nicoulaud | 2018-12-07 20:08:51 +0100 |
commit | a5b82132579cc8a95cfa44650321ac4382d620ab (patch) | |
tree | 1f4bab2952570fc5a521efaf17e245a9bed7f77e | |
download | aur-a5b82132579cc8a95cfa44650321ac4382d620ab.tar.gz |
1.0.4
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | .gitignore | 5 | ||||
-rw-r--r-- | PKGBUILD | 25 |
3 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..db252a05d01c --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = cuppa + pkgdesc = Comprehensive Upstream Provider Polling Assistant. + pkgver = 1.0.4 + pkgrel = 1 + url = https://github.com/DataDrake/cuppa + arch = i686 + arch = x86_64 + license = MIT + makedepends = go-pie + makedepends = make + provides = cuppa + conflicts = cuppa-git + source = https://github.com/DataDrake/cuppa/archive/v1.0.4.tar.gz + sha256sums = 4128f979856d2c16a07b0f5a103a1ebfb492c28931705257e2ed1918444bc26d + +pkgname = cuppa + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..77e15b694e2c --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +/pkg/ +/src/ +/*.tar.gz +/*.xz +/*.swp diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..77b6f112729e --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: Julien Nicoulaud <julien dot nicoulaud at gmail dot com> + +pkgname=cuppa +pkgver=1.0.4 +pkgrel=1 +pkgdesc="Comprehensive Upstream Provider Polling Assistant." +arch=('i686' 'x86_64') +url="https://github.com/DataDrake/cuppa" +license=(MIT) +makedepends=('go-pie' 'make') +provides=("${pkgname}") +conflicts=("${pkgname}-git") +source=("https://github.com/DataDrake/${pkgname}/archive/v${pkgver}.tar.gz") +sha256sums=('4128f979856d2c16a07b0f5a103a1ebfb492c28931705257e2ed1918444bc26d') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + export GOFLAGS="-gcflags=all=-trimpath=${PWD} -asmflags=all=-trimpath=${PWD} -ldflags=-extldflags=-zrelro -ldflags=-extldflags=-znow" + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make install DESTDIR="${pkgdir}" +} |