summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChocobo12020-06-10 15:51:25 +0800
committerChocobo12020-06-10 15:51:25 +0800
commite5213627d8535ca48a492fd9068a40fa09b013e8 (patch)
tree1921cce9affcfb0cd84af4a90a61e59ef3549cbd
parentad8d5c6428e2ba5a0d0ad6a2b3bdf567265d6549 (diff)
downloadaur-e5213627d8535ca48a492fd9068a40fa09b013e8.tar.gz
upgpkg: chihaya 1.0.2-3
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD10
2 files changed, 8 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ffa80c3e33ad..a11ded4f58f5 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,12 +1,12 @@
pkgbase = chihaya
pkgdesc = A customizable, multi-protocol BitTorrent tracker
pkgver = 1.0.2
- pkgrel = 2
+ pkgrel = 3
url = https://github.com/chihaya/chihaya
arch = i686
arch = x86_64
license = BSD
- makedepends = go-pie
+ makedepends = go
depends = glibc
backup = etc/chihaya.json
source = chihaya-1.0.2.tar.gz::https://github.com/chihaya/chihaya/archive/v1.0.2.tar.gz
diff --git a/PKGBUILD b/PKGBUILD
index 63335dbfc081..b5b3695bb2dd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,13 +2,13 @@
pkgname=chihaya
pkgver=1.0.2
-pkgrel=2
+pkgrel=3
pkgdesc="A customizable, multi-protocol BitTorrent tracker"
arch=('i686' 'x86_64')
url="https://github.com/chihaya/chihaya"
license=('BSD')
depends=('glibc')
-makedepends=('go-pie')
+makedepends=('go')
backup=('etc/chihaya.json')
source=("$pkgname-$pkgver.tar.gz::https://github.com/chihaya/chihaya/archive/v$pkgver.tar.gz"
"chihaya.service::https://aur.archlinux.org/cgit/aur.git/plain/chihaya.service?h=chihaya-git"
@@ -25,9 +25,11 @@ build() {
GO111MODULE=on \
go build \
- -trimpath \
+ -buildmode=pie \
-ldflags "-extldflags $LDFLAGS" \
- ./cmd/chihaya
+ -trimpath \
+ -modcacherw \
+ ./cmd/...
}
check() {