summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 79eba4e1495e589254826fa2b293eb55178aa67e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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}"
}