summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoryochananmarqos2020-01-13 09:40:13 -0700
committeryochananmarqos2020-01-13 09:40:13 -0700
commit8e439e810dffb5eedf365ed4e788859486d045e1 (patch)
treec5ab0b049bb8280f9e99cab0c17460d54ff20904
parent4453a037a139405f593a5f660d29d7fa49729c3c (diff)
downloadaur-8e439e810dffb5eedf365ed4e788859486d045e1.tar.gz
add git to makedepends for dep init
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD12
2 files changed, 8 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 26b555462c9..99a1966add3 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,12 +1,13 @@
pkgbase = tldr++
pkgdesc = Community driven man pages improved with smart user interaction
pkgver = 0.6.1
- pkgrel = 3
+ pkgrel = 4
url = https://isacikgoz.me/tldr
arch = any
license = MIT
makedepends = go-pie
makedepends = dep
+ makedepends = git
provides = tldr
conflicts = tldr
conflicts = tldr-bash
diff --git a/PKGBUILD b/PKGBUILD
index e8b4c7a9e51..233a08e288e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,13 +1,13 @@
-# Maintainer: Mark Wagie <yochanan dot marqos at gmail dot com>
+# Maintainer: Mark Wagie <mark dot wagie at tutanota dot com>
# Contributor: iboyperson <tjquillan at gmail dot com>
pkgname=tldr++
pkgver=0.6.1
-pkgrel=3
+pkgrel=4
pkgdesc="Community driven man pages improved with smart user interaction"
arch=('any')
url="https://isacikgoz.me/tldr"
license=('MIT')
-makedepends=('go-pie' 'dep')
+makedepends=('go-pie' 'dep' 'git')
provides=("${pkgname%++}")
conflicts=("${pkgname%++}" 'tldr-bash' 'nodejs-tldr' 'tldr-python-client')
source=("$pkgname-$pkgver.tar.gz"::"https://github.com/isacikgoz/tldr/archive/v$pkgver.tar.gz")
@@ -17,7 +17,7 @@ prepare() {
mkdir -p gopath/src/github.com/isacikgoz
ln -rTsf "${pkgname%++}-$pkgver" "gopath/src/github.com/isacikgoz/${pkgname%++}"
export GOPATH="$srcdir"/gopath
-
+
cd "gopath/src/github.com/isacikgoz/${pkgname%++}"
dep init
dep ensure
@@ -31,11 +31,11 @@ build() {
-gcflags "all=-trimpath=${PWD}" \
-asmflags "all=-trimpath=${PWD}" \
-ldflags "-extldflags ${LDFLAGS}" \
- -o $pkgname .
+ -o $pkgname .
}
package() {
cd "gopath/src/github.com/isacikgoz/${pkgname%++}"
install -Dm755 "$pkgname" "$pkgdir/usr/bin/${pkgname%++}"
- install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
}