From baaddb9bc1f31f42d8ee74118a9ff3607c464ca1 Mon Sep 17 00:00:00 2001
From: Michael Hanson <hansonorders@verizon.net>
Date: Fri, 3 Dec 2010 00:53:27 +0000
Subject: pearlog: upgrade

---
 abs/extra/community/pearlog/PKGBUILD | 40 +++++++++++++++++++-----------------
 1 file changed, 21 insertions(+), 19 deletions(-)

diff --git a/abs/extra/community/pearlog/PKGBUILD b/abs/extra/community/pearlog/PKGBUILD
index 5bc4ccc..31ad2b3 100755
--- a/abs/extra/community/pearlog/PKGBUILD
+++ b/abs/extra/community/pearlog/PKGBUILD
@@ -1,25 +1,27 @@
-arch=('i686')
-pkgname=PearLog
-pkgver=1.12.0
+pkgname=pearlog
+pkgver=1.12.3
 pkgrel=1
-_kernver=2.6.28-LinHES
 pkgdesc="Pear Logging Framework"
+arch=('i686')
 url="http://pear.php.net/"
-license=('GPL-2')
-source=('http://download.pear.php.net/package/Log-1.12.0.tgz')
-#install=('')
+license=('GPL2')
+replaces=('PearLog')
+source=(http://download.pear.php.net/package/Log-${pkgver}.tgz)
 
 build() {
-	mkdir -p $startdir/pkg/usr/share/pear/
-	cp -r $startdir/src/Log-$pkgver/Log* $startdir/pkg/usr/share/pear/
-	mkdir -p $startdir/pkg/usr/share/pear/docs/Log
-	cp -r $startdir/src/Log-$pkgver/docs/* $startdir/pkg/usr/share/pear/docs/Log/
-	mkdir -p $startdir/pkg/usr/share/pear/examples/Log
-	cp -r $startdir/src/Log-$pkgver/examples/* $startdir/pkg/usr/share/pear/examples/Log/
-	mkdir -p $startdir/pkg/usr/share/pear/misc/Log
-	cp -r $startdir/src/Log-$pkgver/misc/* $startdir/pkg/usr/share/pear/misc/Log/
-	mkdir -p $startdir/pkg/usr/share/pear/tests/Log
-	cp -r $startdir/src/Log-$pkgver/tests/* $startdir/pkg/usr/share/pear/tests/Log/
-	}
+        /bin/true
+}
 
-md5sums=('7fe68920afc4b122cb15aba40d735cb6')
+package() {
+        mkdir -p ${pkgdir}/usr/share/pear/
+        cp -r ${srcdir}/Log-${pkgver}/Log* ${pkgdir}/usr/share/pear/
+        mkdir -p ${pkgdir}/usr/share/pear/docs/Log
+        cp -r ${srcdir}/Log-${pkgver}/docs/* ${pkgdir}/usr/share/pear/docs/Log/
+        mkdir -p ${pkgdir}/usr/share/pear/examples/Log
+        cp -r ${srcdir}/Log-${pkgver}/examples/* ${pkgdir}/usr/share/pear/examples/Log/
+        mkdir -p ${pkgdir}/usr/share/pear/misc/Log
+        cp -r ${srcdir}/Log-${pkgver}/misc/* ${pkgdir}/usr/share/pear/misc/Log/
+        mkdir -p ${pkgdir}/usr/share/pear/tests/Log
+        cp -r ${srcdir}/Log-${pkgver}/tests/* ${pkgdir}/usr/share/pear/tests/Log/
+}
+md5sums=('9930cb6d52b3af2ca6a24db267e237f0')
-- 
cgit v0.12

