blob: 623ac43ca0d7aba79b91ff62980be05b70b25627 (
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
|
# $Id: PKGBUILD,v 1.4 2004/04/19 06:24:58 dorphell Exp $
# Maintainer: eric <eric@archlinux.org>
# Contributor: Manolis Tzanidakis
#
pkgname=gkx86info
pkgver=0.0.2
pkgrel=3
pkgdesc="GKrellM plugin to display CPU speed (useful for clock stepping)"
depends=('gkrellm')
arch=('i686' 'x86_64')
license=('GPL2')
url="http://anchois.free.fr"
source=(http://anchois.free.fr/gkx86info2-${pkgver}.tar.gz)
md5sums=('e893ac5db865b4621c9f880686d30a99')
build() {
cd "$srcdir/${pkgname}${pkgver}"
gcc $CFLAGS -fPIC `pkg-config gtk+-2.0 --cflags` -c gkx86info.c
gcc $CFLAGS -fPIC -o MHz.o -c MHz.c
gcc -shared -o gkx86info.so MHz.o gkx86info.o
}
package() {
cd "$srcdir/${pkgname}${pkgver}"
install -Dm755 $pkgname.so "$pkgdir/usr/lib/gkrellm2/plugins/$pkgname.so"
}
|