-
-
Notifications
You must be signed in to change notification settings - Fork 20
/
PKGBUILD
59 lines (54 loc) · 1.16 KB
/
PKGBUILD
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# Maintainer: Yousef El-Darsh <[email protected]>
pkgname=python-fabric-git
reponame=fabric
pkgver=0.0.1
pkgrel=1
pkgdesc="next-gen framework for building desktop widgets using python"
arch=(any)
url="https://github.com/Fabric-Development/fabric"
license=("AGPL-3.0-or-later")
groups=()
depends=(
gtk3
cairo
gtk-layer-shell
libgirepository
gobject-introspection
gobject-introspection-runtime
webkit2gtk-4.1
libdbusmenu-gtk3
python
python-pip
python-gobject
python-cairo
python-loguru
python-click
pkgconf
)
makedepends=(
git
python-setuptools
)
optdepends=(
"python-psutil: for system stats, this package is a dependency of the bar example file"
)
provides=(
python-fabric
)
conflicts=(
python-fabric
)
source=(git+https://github.com/Fabric-Development/$reponame.git)
sha256sums=("SKIP")
pkgver() {
cd "$srcdir/$reponame"
printf "%s.r%s.%s" "$pkgver" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
}
build() {
cd "$srcdir/$reponame"
python setup.py build
}
package() {
cd "$srcdir/$reponame"
python setup.py install --root="$pkgdir/" --optimize=1
}