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 }