blob: 9ec5736b14a05a535eab3b870256b9b94c17c1d4 (
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=3
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' 'rofi')
makedepends=('git')
provides=('rofi-gister')
conflicts=('rofi-gister')
source=("$_pkgname::git+https://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}"
}
|