diff options
author | Muflone | 2015-06-13 17:59:16 +0200 |
---|---|---|
committer | Muflone | 2015-06-13 17:59:16 +0200 |
commit | 8cb07c1ff13cecc455da8ae107175181d7ba16cf (patch) | |
tree | 97365888d7c65361a8c5bb99da34b99474e4e0db | |
download | aur-8cb07c1ff13cecc455da8ae107175181d7ba16cf.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 21 | ||||
-rw-r--r-- | PKGBUILD | 32 | ||||
-rw-r--r-- | cpucompare-git.install | 13 |
3 files changed, 66 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..2e5c90e2279a --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,21 @@ +pkgbase = cpucompare-git + pkgdesc = A GTK+ application to make comparisons between CPU models. + pkgver = 0.6.5.g9954046 + pkgrel = 1 + url = http://url.muflone.com/cpucompare + install = cpucompare-git.install + arch = any + license = GPL2 + makedepends = git + depends = python2 + depends = gtk3 + depends = python2-gobject + depends = hicolor-icon-theme + depends = xdg-utils + provides = cpucompare + conflicts = cpucompare + source = git+https://github.com/muflone/cpucompare.git + md5sums = SKIP + +pkgname = cpucompare-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..b1092aec635d --- /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}" +} + diff --git a/cpucompare-git.install b/cpucompare-git.install new file mode 100644 index 000000000000..bb9f41c66e02 --- /dev/null +++ b/cpucompare-git.install @@ -0,0 +1,13 @@ +post_install() { + xdg-icon-resource forceupdate + xdg-desktop-menu forceupdate +} + +post_update() { + post_install +} + +post_remove() { + post_install +} + |