diff options
author | Alexander F. Rødseth | 2023-08-16 12:18:32 +0200 |
---|---|---|
committer | Alexander F. Rødseth | 2023-08-16 12:18:32 +0200 |
commit | 0d1c1dba3f8861a12ff1c392cb26bef63b3f7a78 (patch) | |
tree | e97ba73b87bbeebf10cdd90455a62b1f5f39f43a | |
parent | e028d8789ef500b7064a23a744e973afa49393bf (diff) | |
download | aur-aget.tar.gz |
Make git a dependency
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 7 insertions, 6 deletions
@@ -1,12 +1,12 @@ pkgbase = aget pkgdesc = Minimalistic AUR helper pkgver = 1.3.3 - pkgrel = 1 + pkgrel = 2 url = https://github.com/xyproto/aget arch = x86_64 license = BSD makedepends = go - makedepends = git + depends = git source = git+https://github.com/xyproto/aget#commit=b98582af99200e1de6db010a9aa49e0cd6d9f027 b2sums = SKIP @@ -2,18 +2,19 @@ pkgname=aget pkgver=1.3.3 -pkgrel=1 +pkgrel=2 pkgdesc='Minimalistic AUR helper' arch=(x86_64) url='https://github.com/xyproto/aget' license=(BSD) -makedepends=(go git) +depends=(git) +makedepends=(go) source=("git+$url#commit=b98582af99200e1de6db010a9aa49e0cd6d9f027") # tag: 1.3.3 -b2sums=('SKIP') +b2sums=(SKIP) build() { cd $pkgname - go build -mod=vendor -gcflags "all=-trimpath=${PWD}" -asmflags "all=-trimpath=${PWD}" -ldflags "-extldflags ${LDFLAGS}" + go build -v -mod=vendor -trimpath -buildmode=pie -ldflags "-s -w -linkmode=external -extldflags=$LDFLAGS" } package() { |