summaryrefslogtreecommitdiffstats
path: root/abs/mv-core/lcdproc/PKGBUILD
blob: cb536e9fa9eb63b5ffd3be919eaeef91e8986156 (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
pkgname=lcdproc
#pkgver=0.5.2
pkgver=20080326
pkgrel=7
pkgdesc="LCDproc is a utility to drive one or more LCD (and LCD-like) devices attached to a host."
url="http://lcdproc.omnipotent.net/"
license="GPL"
depends=(libusb xosd)
backup=(etc/LCDd.conf)
arch=('i686')
#source=(http://switch.dl.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz lcdd mythvantage.patch)
source=(lcdproc-CVS-current.tar.gz  lcdd mythvantage.patch)

build() {
 #cd $startdir/src/$pkgname-$pkgver
 cd $startdir/src/$pkgname-CVS-current-$pkgver
# lcdproc-CVS-current-20080326
  patch -p0 < ../mythvantage.patch
  ./configure --prefix=/usr --sysconfdir=/etc --enable-libusb --enable-drivers=all
  make
  make DESTDIR=$startdir/pkg install
  sed -e "s/server\/drivers\//\/usr\/lib\/lcdproc\//g" LCDd.conf > $startdir/pkg/etc/LCDd.conf
  mkdir -p $startdir/pkg/etc/rc.d
  install -m 755 $startdir/src/lcdd $startdir/pkg/etc/rc.d
}