blob: 641f1bf5e113961cac488205bafbc598ccf873e5 (
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# Maintainer (Arch): Eric Bélanger <eric@archlinux.org>
# Contributor (Hyperbola): Márcio Silva <coadde@hyperbola.info>
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
# Contributor: bill-auger <bill-auger@programmer.net>
# parabola changes and rationale:
# - re-branding
pkgname=hardinfo
pkgver=0.5.1.816.g877ea2b
_commit=877ea2bc7777626c6fe77b6934a09261f1f1409e
pkgrel=1
pkgrel+=.par4
pkgdesc="A system information and benchmark tool."
pkgdesc+="(Parabola rebranded)"
arch=('x86_64')
arch+=('i686' 'armv7h')
url="https://github.com/lpereira/hardinfo"
license=('GPL2')
depends=('gtk2')
makedepends=('cmake' 'git')
depends+=(icu-parabola libicudata.so=67)
source=($pkgname::git+https://github.com/lpereira/hardinfo#commit=$_commit)
sha1sums=('SKIP')
pkgver() {
cd $pkgname
git describe --long | sed "s/^release-//;s/^0.5-/0.5.1-/;s/-/./g"
}
prepare() {
cd ${pkgname}
mkdir build
}
build() {
cd ${pkgname}/build
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
..
make
}
package() {
cd ${pkgname}/build
make DESTDIR="${pkgdir}" install
}
|