summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorhwangeug2019-10-23 16:01:47 -0700
committerhwangeug2019-10-23 16:01:47 -0700
commit6458aefcfdb2ad71fd9d1d1bc47f8605f4d35e60 (patch)
treeef236ecd7df55f1ae0043decb5876c63066d513f
downloadaur-6458aefcfdb2ad71fd9d1d1bc47f8605f4d35e60.tar.gz
initial release
-rw-r--r--.SRCINFO22
-rw-r--r--PKGBUILD27
2 files changed, 49 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..b23fb295ba2
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,22 @@
+pkgbase = gister-git
+ pkgdesc = A command line tool for managing GitHub gists
+ pkgver = 2.4.0.r0.gba6561e
+ pkgrel = 1
+ url = https://github.com/weakish/gister
+ arch = any
+ license = Apache 2.0
+ depends = curl
+ depends = git
+ depends = gist
+ depends = jq
+ depends = ruby
+ depends = xclip
+ optdepends = legit-git: more streamlined syncing of gist repository
+ optdepends = codesearch-git: faster searching of gists
+ provides = gister
+ conflicts = gister
+ source = gister::git://github.com/weakish/gister.git
+ sha256sums = SKIP
+
+pkgname = gister-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..25e8ffdb9da
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,27 @@
+# Maintainer: eugene hwang <hwang dot eug at gmail dot com>
+
+pkgname=gister-git
+_pkgname=gister
+pkgver=2.4.0.r0.gba6561e
+pkgrel=1
+pkgdesc="A command line tool for managing GitHub gists"
+arch=('any')
+url="https://github.com/weakish/gister"
+license=('Apache 2.0')
+depends=('curl' 'git' 'gist' 'jq' 'ruby' 'xclip')
+optdepends=('legit-git: more streamlined syncing of gist repository'
+ 'codesearch-git: faster searching of gists')
+provides=('gister')
+conflicts=('gister')
+source=("$_pkgname::git://github.com/weakish/gister.git")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd ${_pkgname}
+ git describe --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
+package() {
+ install -Dm755 "${srcdir}/${_pkgname}/${_pkgname}.sh" "${pkgdir}/usr/bin/${_pkgname}"
+}
+