summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMuflone2015-06-13 17:59:16 +0200
committerMuflone2015-06-13 17:59:16 +0200
commit8cb07c1ff13cecc455da8ae107175181d7ba16cf (patch)
tree97365888d7c65361a8c5bb99da34b99474e4e0db /PKGBUILD
downloadaur-cpucompare-git.tar.gz
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..b1092aec635
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,32 @@
+# Maintainer: Muflone http://url.muflone.com/contacts
+
+pkgname=cpucompare-git
+pkgver=0.6.5.g9954046
+pkgrel=1
+pkgdesc="A GTK+ application to make comparisons between CPU models."
+url="http://url.muflone.com/cpucompare"
+arch=('any')
+license=('GPL2')
+depends=('python2' 'gtk3' 'python2-gobject' 'hicolor-icon-theme' 'xdg-utils')
+makedepends=('git')
+provides=('cpucompare')
+conflicts=('cpucompare')
+source=("git+https://github.com/muflone/cpucompare.git")
+md5sums=('SKIP')
+install="${pkgname}.install"
+
+pkgver() {
+ cd "${pkgname%-*}"
+ git describe --always | sed 's|-|.|g'
+}
+
+build() {
+ cd "${pkgname%-*}"
+ python2 setup.py build
+}
+
+package() {
+ cd "${pkgname%-*}"
+ python2 setup.py install --optimize=1 --root "${pkgdir}"
+}
+