summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: bc8a3e3724e3b2986a2bcfefe18937d49bd96e3d (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
# Maintainer: Brian Bidulock <bidulock@openss7.org>
pkgname=wmbluemem
pkgver=5
pkgrel=1
pkgdesc="A memory monitoring dockapp (for WindowMaker, OpenBOx, AfterStep etc)"
arch=('i686' 'x86_64')
url="http://github.com/vampirefrog/wmbluemem"
license=('GPL')
depends=('libxpm' 'libxft')
makedepends=('git')
source=("$pkgname::git+https://github.com/vampirefrog/wmbluemem.git")
md5sums=('SKIP')

pkgver() {
  cd $pkgname
  git rev-list --count HEAD
}

prepare() {
  cd $pkgname
  sed -i -e 's,(LIBS),(LIBS) $(LDFLAGS),' Makefile
}

build() {
  cd $pkgname
  make
}

package() {
  cd $pkgname
  install -Dm0755 wmbluemem "$pkgdir/usr/bin/wmbluemem"
  install -Dm0644 wmbluemem.1 "$pkgdir/usr/share/man/man1/wmbluemem.1"
}

# vim: set sw=2 et: