-
-
Save BoukeHaarsma23/8c6d0b519615e5dc59a9a1e01cada758 to your computer and use it in GitHub Desktop.
PKGBUILD for WattmanGTK
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Bouke Haarsma <boukehaarsma23@gmail.com> | |
pkgname=WattmanGTK-git | |
pkgver=r54.cfa4366 | |
pkgrel=1 | |
pkgdesc="A Wattman-like GTK3+ GUI for AMDGPU users" | |
arch=("any") | |
url="https://www.github.com/BoukeHaarsma23/WattmanGTK" | |
license=("GPL") | |
depends=("python" "python-matplotlib" "python-gobject" "python-cairo") | |
makedepends=("python-setuptools") | |
source=("WattmanGTK::git+https://github.com/BoukeHaarsma23/WattmanGTK.git") | |
md5sums=("SKIP") | |
pkgver() { | |
cd "WattmanGTK" | |
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" | |
} | |
build() { | |
cd "WattmanGTK" | |
python setup.py build | |
} | |
package() { | |
cd "WattmanGTK" | |
python setup.py install --root="$pkgdir/" --optimize=1 --skip-build | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Needs python-cairo as a dep too