summaryrefslogtreecommitdiffstats
path: root/abs/mv-core/lcdproc/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/mv-core/lcdproc/PKGBUILD')
-rwxr-xr-xabs/mv-core/lcdproc/PKGBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/abs/mv-core/lcdproc/PKGBUILD b/abs/mv-core/lcdproc/PKGBUILD
new file mode 100755
index 0000000..cb536e9
--- /dev/null
+++ b/abs/mv-core/lcdproc/PKGBUILD
@@ -0,0 +1,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
+}