blob: 4815247233418451ca06c3efce75e474827fa159 (
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
|
# Maintainer: Daan Vanoverloop <daan at vanoverloop dot xyz>
pkgname=python-pyfzf-git
pkgdesc="A python wrapper for fzf"
pkgver=0.2.2.r0.g2e159c5
pkgrel=1
arch=('any')
license=('MIT')
depends=('python-plumbum')
makedepends=('git' 'python-setuptools')
provides=('python-pyfzf')
url="https://github.com/nk412/pyfzf"
source=("git://github.com/nk412/pyfzf.git")
sha256sums=('SKIP')
pkgver() {
cd pyfzf
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd pyfzf
python setup.py build
}
package() {
cd pyfzf
python setup.py install --root="$pkgdir"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|