summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c950523c4e1f53614526c6f7bbf4dd4adce135e6 (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
25
# 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')
makedepends=('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}"
}