summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Wagie2019-01-04 11:16:03 -0700
committerMark Wagie2019-01-04 11:16:03 -0700
commitf4f6ea9b909dde0da57df985671ba9bdaadb29e5 (patch)
tree4ba7c879859165bf69a57104d038eb4b1d6a2676
downloadaur-f4f6ea9b909dde0da57df985671ba9bdaadb29e5.tar.gz
initial upload
-rw-r--r--.SRCINFO21
-rw-r--r--PKGBUILD26
2 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..ad103e3156b
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,21 @@
+pkgbase = tldr++
+ pkgdesc = Community driven man pages improved with smart user interaction
+ pkgver = 0.5.0
+ pkgrel = 1
+ url = http://isacikgoz.me/tldr
+ arch = any
+ license = MIT
+ makedepends = go
+ provides = tldr
+ conflicts = tldr
+ conflicts = tealdeer
+ conflicts = tldr-bash
+ conflicts = nodejs-tldr
+ conflicts = tldr-go-client
+ conflicts = tldr-cpp
+ conflicts = tldr-python-client
+ source = tldr++-0.5.0.tar.gz::https://github.com/isacikgoz/tldr/archive/v0.5.0.tar.gz
+ md5sums = 40e3eabc37c767544d907f0a65f364fd
+
+pkgname = tldr++
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..dc80f573efd
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Mark Wagie <yochanan dot marqos at gmail dot com>
+pkgname=tldr++
+_gitname=tldr
+pkgver=0.5.0
+pkgrel=1
+pkgdesc="Community driven man pages improved with smart user interaction"
+arch=('any')
+url="http://isacikgoz.me/tldr"
+license=('MIT')
+makedepends=('go')
+provides=('tldr')
+conflicts=('tldr' 'tealdeer' 'tldr-bash' 'nodejs-tldr' 'tldr-go-client' 'tldr-cpp' 'tldr-python-client')
+source=("$pkgname-$pkgver.tar.gz"::"https://github.com/isacikgoz/tldr/archive/v$pkgver.tar.gz")
+md5sums=('40e3eabc37c767544d907f0a65f364fd')
+
+build() {
+ cd "$_gitname-$pkgver"
+ go get -u github.com/isacikgoz/tldr
+ go build
+}
+
+package() {
+ cd "$_gitname-$pkgver"
+ install -Dm755 "$_gitname-$pkgver" "$pkgdir"/usr/bin/tldr
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}