blob: 6f43852ee1a53f450ae0b419ff5baf8e64e96a25 (
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
|
# Maintainer: Onur BÜBER <onurbuber@engineer.com>
pkgname=python-pyfzf
pkgdesc="A python wrapper for fzf"
pkgver=0.3.1
pkgrel=2
arch=('any')
license=('MIT')
makedepends=('git' 'python-setuptools')
provides=('python-pyfzf')
conflicts=('python-pyfzf')
url="https://github.com/nk412/pyfzf"
_pyname="pyfzf"
source=("$pkgname-$pkgver.tar.gz::https://github.com/nk412/pyfzf/archive/refs/tags/$pkgver.tar.gz")
sha256sums=('SKIP')
build() {
cd $srcdir/$_pyname-$pkgver
python setup.py build
}
package() {
cd $srcdir/$_pyname-$pkgver
python setup.py install --root="$pkgdir"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|