-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPKGBUILD
More file actions
32 lines (28 loc) · 814 Bytes
/
Copy pathPKGBUILD
File metadata and controls
32 lines (28 loc) · 814 Bytes
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
# Maintainer: Knotrocket <knotrocket12 at gmail dot com>
_name=arf
pkgname="${_name}-git"
pkgver=r13.2cb27bd
pkgrel=1
pkgdesc="An fzf Pacman wrapper and AUR helper"
arch=('any')
url="https://github.com/Samq64/arf"
license=('MIT')
depends=('fzf' 'git' 'pacman' 'pyalpm' 'python' 'python-srcinfo')
makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel')
optdepends=('sudo: default privilege elevation')
provides=("$_name")
conflicts=("$_name")
source=('git+https://github.com/Samq64/arf.git')
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/$_name"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd $_name
python -m build --wheel --no-isolation
}
package() {
cd $_name
python -m installer --destdir="$pkgdir" dist/*.whl
}