summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8e1824be99c425f5691eabbbce57f0d601edd78e (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
# Contributor: Brian Bidulock <bidulock@openss7.org>
# Contributor: Mario Bl├Ąttermann <mariobl@gnome.org>

pkgname=bubblemon-dockapp
pkgver=1.46
pkgrel=4
pkgdesc="This is a system monitoring dockapp, visually based on the GNOME 'BubbleMon' applet"
arch=('i686' 'x86_64')
url="http://www.ne.jp/asahi/linux/timecop/"
license=('GPL')
depends=('gtk2')
makedepends=('patch')
source=(http://www.ne.jp/asahi/linux/timecop/software/$pkgname-$pkgver.tar.gz \
	gdk2.patch)
md5sums=('f1f86fe5c725bf3a6f5fef8709992931'
         '33e075f7d86b0dbceb76a00b8d744b05')

prepare() {
  cd "$srcdir/$pkgname-$pkgver"
  patch -Np2 -b -z .orig -i ../gdk2.patch
}
build() {
  cd "$srcdir/$pkgname-$pkgver"
  make
}
package() {
  cd "$srcdir/$pkgname-$pkgver"
  mkdir -p "$pkgdir/usr/bin/"
  make DESTDIR="$pkgdir" install
  mkdir -p "$pkgdir/usr/share/doc/$pkgname/"
  install -c README "$pkgdir/usr/share/doc/$pkgname/README"
}