summaryrefslogtreecommitdiffstats
path: root/abs/mv-core/ghosd/PKGBUILD
blob: f63fcac6735d28868876b06526a1be9ddcaf369e (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
pkgname=ghosd	
pkgver=0.0.1
pkgrel=19
pkgdesc="notification program like xosd"
depends=('cairo' 'perl' 'pango')
makedepends=('pkgconfig')
arch=('i686')
source=(osdClient.pl osdServer.config osdServer.pl green800.png red800.png blue800.png yellow800.png 'grey800.png')


build() {
  cd $startdir/src
  cp -rp $startdir/$pkgname-$pkgver .
  cd $startdir/src/$pkgname-$pkgver
  make distclean
  make clean
  ./configure --prefix=/usr  --disable-shared
  make || return 1
  make prefix=$startdir/pkg/usr install
  #install -D -m755 ./examples/.libs/image $startdir/pkg/usr/bin/imageGhosd
  install -D -m755 ./examples/image $startdir/pkg/usr/bin/imageGhosd

  cd $startdir/src
  install -D -m755 osdClient.pl  $startdir/pkg/usr/bin/osdClient.pl 
  install -D -m755 osdServer.pl  $startdir/pkg/usr/bin/osdServer.pl
  install -D -m755 osdServer.config $startdir/pkg/etc/osdServer.config
  install -D -m755 green800.png $startdir/pkg/usr/share/green800.png
  install -D -m755 red800.png $startdir/pkg/usr/share/red800.png
  install -D -m755 blue800.png $startdir/pkg/usr/share/blue800.png
  install -D -m755 yellow800.png $startdir/pkg/usr/share/yellow800.png
  install -D -m755 grey800.png $startdir/pkg/usr/share/grey800.png
}