blob: ae97386bd7cf07267c40d2e4caaef2c7f38b9f4f (
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
26
27
28
29
30
31
32
33
34
35
36
|
# Maintainer: JP-Ellis <josh@jpellis.me>
pkgname=papis-rofi-git
_name=${pkgname//-git}
provides=('papis-rofi')
_pkgver=0.2.0
pkgver=0.2.0.r5.2cb5b88
pkgrel=1
pkgdesc="Rofi interface for papis"
arch=('any')
url="https://pypi.org/project/papis-rofi/"
license=('GPL')
depends=('python' 'papis' 'python-papis-python-rofi')
optdepends=()
makedepends=('python-setuptools')
source=(
"git+https://github.com/papis/papis-rofi.git"
)
sha256sums=('SKIP')
noextract=()
pkgver() {
cd "${srcdir}/${_name}"
printf "${_pkgver}.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "${srcdir}/${_name}"
python setup.py build
}
package() {
cd "${srcdir}/${_name}"
python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
}
# vim:set ts=2 sw=2 et:
|