summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e96c9396b47b11d0726ac5a9635eca8ba83a4c37 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Maintainer: Muflone http://www.muflone.com/contacts/english/

pkgname=cpucompare-git
pkgver=0.8.2
pkgrel=1
pkgdesc="A GTK+ application to make comparisons between CPU models."
url="http://www.muflone.com/cpucompare"
arch=('any')
license=('GPL3')
makedepends=('git' 'python-setuptools')
depends=('gtk3' 'python-gobject' 'python-xdg' 'gobject-introspection')
provides=('cpucompare')
conflicts=('cpucompare')
source=("git+https://github.com/muflone/cpucompare.git")
md5sums=('SKIP')

pkgver() {
  cd "${pkgname%-*}"
  git describe --always | sed 's|-|.|g'
}

build() {
  cd "${pkgname%-*}"
  python setup.py build
}

package() {
  cd "${pkgname%-*}"
  python setup.py install --optimize=1 --root "${pkgdir}"
}