summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8a734c618287ac3ec26f1d5ef82f2231fef5c022 (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
# Maintainer: osa_k <osak.63@gmail.com>
# Contributor: Brian F. G. Bidulock <bidulock@openss7.org>

pkgname=wmcpu
pkgver=1.4
pkgrel=3
pkgdesc="Dockapp CPU monitor resembling Xosview."
arch=('i686' 'x86_64')
url="http://www.ne.jp/asahi/linux/timecop/#wmcpu"
license=("GPL")
depends=('x-server')
makedepends=('make')
#source=(http://dockapps.windowmaker.org/download.php/id/673/wmcpu-1.4.tar.gz
#        makefile.patch)
source=(wmcpu-1.4.tar.gz
        makefile.patch)
md5sums=('e690eda219cdf285476bcbb602a117ff'
		 '5e80a4fc615e6ffbce9ae36df698b88d')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  patch -Np0 -i "${srcdir}/makefile.patch"
  make || return 1
}
package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  install -m755 -d "${pkgdir}/usr/bin"
  make DESTDIR=${pkgdir} install
}