diff options
author | Christoph Haag | 2015-06-16 17:37:24 +0200 |
---|---|---|
committer | Christoph Haag | 2015-06-16 17:37:24 +0200 |
commit | bca821a85c1796b578dc1d8087f5a524baee464c (patch) | |
tree | f59dc11e592b02ef12cb9677e76adb5b5a093c03 | |
download | aur-bca821a85c1796b578dc1d8087f5a524baee464c.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 28 |
2 files changed, 42 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..fcca7c1c9e12 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = prime-gpuchooser + pkgdesc = A graphical tool to choose the GPU used for 3D rendering with PRIME. Requires dri3. + pkgver = r5.f13bea7 + pkgrel = 1 + url = https://github.com/ChristophHaag/gpuchooser + arch = any + license = GPL + depends = python-pyqt5 + depends = mesa-demos + source = git+https://github.com/ChristophHaag/gpuchooser.git + md5sums = SKIP + +pkgname = prime-gpuchooser + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..41b8be61277b --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +pkgname=prime-gpuchooser +pkgver=r5.f13bea7 +pkgrel=1 +pkgdesc="A graphical tool to choose the GPU used for 3D rendering with PRIME. Requires dri3." +arch=('any') +url="https://github.com/ChristophHaag/gpuchooser" +license=('GPL') +depends=('python-pyqt5' 'mesa-demos') +source=("git+https://github.com/ChristophHaag/gpuchooser.git") +md5sums=("SKIP") + +#prepare() { +# cd $srcdir/gpuchooser +#} + +pkgver() { + cd gpuchooser + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + + +package() { + cd "$srcdir/gpuchooser" + install -Dm644 gpuchooser.py "$pkgdir/usr/lib/gpuchooser/gpuchooser.py" + install -Dm644 ui_gpuchooser.py "$pkgdir/usr/lib/gpuchooser/ui_gpuchooser.py" + install -Dm755 gpuchooser "$pkgdir/usr/bin/gpuchooser" + install -Dm644 gpuchooser.desktop "$pkgdir/usr/share/applications/gpuchooser.desktop" +} |