summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Wagie2020-07-27 09:36:35 -0600
committerMark Wagie2020-07-27 09:36:35 -0600
commit4a23b81e8474cbbbd8bfbb4affd7c46c85af40e8 (patch)
treed085d2d4d85093993c09ed52a6c4cb827c063e11
parent9ec711bb4e34ea2f563d4036dbf24d7190607bc0 (diff)
downloadaur-4a23b81e8474cbbbd8bfbb4affd7c46c85af40e8.tar.gz
fix arch, add trimpath flag
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD7
2 files changed, 9 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6e2e27927cd..7ec6db80941 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,12 @@
pkgbase = tldr++
pkgdesc = Community driven man pages improved with smart user interaction
pkgver = 0.6.1
- pkgrel = 6
+ pkgrel = 7
url = https://isacikgoz.me/tldr
- arch = any
+ arch = i686
+ arch = x86_64
+ arch = arm
+ arch = aarch64
license = MIT
makedepends = go
makedepends = dep
diff --git a/PKGBUILD b/PKGBUILD
index 65526bc0010..f4419b0d620 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,9 +2,9 @@
# Contributor: iboyperson <tjquillan at gmail dot com>
pkgname=tldr++
pkgver=0.6.1
-pkgrel=6
+pkgrel=7
pkgdesc="Community driven man pages improved with smart user interaction"
-arch=('any')
+arch=('i686' 'x86_64' 'arm' 'aarch64')
url="https://isacikgoz.me/tldr"
license=('MIT')
makedepends=('go' 'dep' 'git')
@@ -30,9 +30,10 @@ build() {
cd "gopath/src/github.com/isacikgoz/${pkgname%++}"
go build \
+ -trimpath \
-buildmode=pie \
-ldflags "-extldflags \"${LDFLAGS}\"" \
- -o $pkgname .
+ -v -o $pkgname .
}
package() {