From 0db9c25b5655ffce6c45f11e9b299e0783c7d706 Mon Sep 17 00:00:00 2001
From: Michael Hanson <hansonorders@verizon.net>
Date: Fri, 3 Dec 2010 00:54:06 +0000
Subject: peardb: recompile

---
 abs/extra/community/peardb/PKGBUILD | 30 ++++++++++++++++--------------
 1 file changed, 16 insertions(+), 14 deletions(-)

diff --git a/abs/extra/community/peardb/PKGBUILD b/abs/extra/community/peardb/PKGBUILD
index dafe00f..01164eb 100755
--- a/abs/extra/community/peardb/PKGBUILD
+++ b/abs/extra/community/peardb/PKGBUILD
@@ -1,22 +1,24 @@
-arch=('i686')
-pkgname=PearDB
+pkgname=peardb
 pkgver=1.7.13
-pkgrel=1
-_kernver=2.6.28-LinHES
+pkgrel=2
+arch=('i686')
 pkgdesc="Pear Database Abstraction Layer"
 url="http://pear.php.net/"
-license=('GPL-2')
-source=('http://download.pear.php.net/package/DB-1.7.13.tgz')
-#install=('')
+license=('GPL2')
+replaces=('PearDB')
+source=(http://download.pear.php.net/package/DB-${pkgver}.tgz)
 
 build() {
-	mkdir -p $startdir/pkg/usr/share/pear/
-	cp -r $startdir/src/DB-$pkgver/DB* $startdir/pkg/usr/share/pear/
-	mkdir -p $startdir/pkg/usr/share/pear/docs/DB/
-	cp -r $startdir/src/DB-$pkgver/doc/* $startdir/pkg/usr/share/pear/docs/DB/
-	mkdir -p $startdir/pkg/usr/share/pear/tests/DB/
-	cp -r $startdir/src/DB-$pkgver/tests/* $startdir/pkg/usr/share/pear/tests/DB/
+        /bin/true
+}
 
-	}
+package() {
+        mkdir -p ${pkgdir}/usr/share/pear/
+        cp -r ${srcdir}/DB-$pkgver/DB* ${pkgdir}/usr/share/pear/
+        mkdir -p ${pkgdir}/usr/share/pear/docs/DB/
+        cp -r ${srcdir}/DB-$pkgver/doc/* ${pkgdir}/usr/share/pear/docs/DB/
+        mkdir -p ${pkgdir}/usr/share/pear/tests/DB/
+        cp -r ${srcdir}/DB-$pkgver/tests/* ${pkgdir}/usr/share/pear/tests/DB/
+}
 
 md5sums=('39b451245941a7059511a852f18b4946')
-- 
cgit v0.12

