Skip to content

Instantly share code, notes, and snippets.

@BoukeHaarsma23
Last active November 12, 2018 19:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BoukeHaarsma23/8c6d0b519615e5dc59a9a1e01cada758 to your computer and use it in GitHub Desktop.
Save BoukeHaarsma23/8c6d0b519615e5dc59a9a1e01cada758 to your computer and use it in GitHub Desktop.
PKGBUILD for WattmanGTK
# 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
}
@parkerlreed
Copy link

Needs python-cairo as a dep too

@BoukeHaarsma23
Copy link
Author

Changed, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment