summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorhwangeug2019-10-23 16:59:31 -0700
committerhwangeug2019-10-23 16:59:31 -0700
commitcf190591ddfaff902cf338693d04355293f69d7b (patch)
tree0d2ad6604c16b3dbff61cec2941968ee0eac1ce3 /PKGBUILD
downloadaur-rofi-gister-git.tar.gz
initial release
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..79eba4e1495
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,24 @@
+# Maintainer: eugene hwang <hwang dot eug at gmail dot com>
+
+pkgname=rofi-gister-git
+_pkgname=rofi-gister
+pkgver=r6.77229b1
+pkgrel=1
+pkgdesc="Rofi user script for accessing gists synced by gister"
+arch=('x86_64')
+url="https://github.com/hwangeug/rofi-gister"
+license=('MIT')
+depends=('gister-git')
+provides=('rofi-gister')
+conflicts=('rofi-gister')
+source=("$_pkgname::git://github.com/hwangeug/rofi-gister.git")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd ${_pkgname}
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+package() {
+ install -Dm755 "${srcdir}/${_pkgname}/${_pkgname}.py" "${pkgdir}/usr/bin/${_pkgname}"
+}