diff options
author | Chocobo1 | 2020-06-10 15:51:25 +0800 |
---|---|---|
committer | Chocobo1 | 2020-06-10 15:51:25 +0800 |
commit | e5213627d8535ca48a492fd9068a40fa09b013e8 (patch) | |
tree | 1921cce9affcfb0cd84af4a90a61e59ef3549cbd | |
parent | ad8d5c6428e2ba5a0d0ad6a2b3bdf567265d6549 (diff) | |
download | aur-e5213627d8535ca48a492fd9068a40fa09b013e8.tar.gz |
upgpkg: chihaya 1.0.2-3
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 10 |
2 files changed, 8 insertions, 6 deletions
@@ -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 @@ -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() { |