[arch-commits] Commit in lat/trunk (PKGBUILD)

Balló György bgyorgy at nymeria.archlinux.org
Wed Oct 16 04:09:06 UTC 2013


    Date: Wednesday, October 16, 2013 @ 06:09:06
  Author: bgyorgy
Revision: 98642

upgpkg: lat 1.2.4-2

Rebuild for mono 4.0

Modified:
  lat/trunk/PKGBUILD

----------+
 PKGBUILD |   13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-10-16 03:44:19 UTC (rev 98641)
+++ PKGBUILD	2013-10-16 04:09:06 UTC (rev 98642)
@@ -4,7 +4,7 @@
 
 pkgname=lat
 pkgver=1.2.4
-pkgrel=1
+pkgrel=2
 pkgdesc="LDAP Administration Tool"
 arch=('any')
 url="http://sourceforge.net/projects/ldap-at/"
@@ -14,13 +14,20 @@
 source=(http://downloads.sourceforge.net/ldap-at/lat-$pkgver.tar.gz)
 md5sums=('a09b07d585127fa0b9c8b484433bb705')
 
+prepare() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  # Build for mono 4.0
+  sed -i 's/gmcs/dmcs/' configure{,.ac}
+}
+
 build() {
-  cd "$srcdir/lat-$pkgver"
+  cd "$srcdir/$pkgname-$pkgver"
   ./configure --prefix=/usr --enable-avahi=yes
   make
 }
 
 package() {
-  cd "$srcdir/lat-$pkgver"
+  cd "$srcdir/$pkgname-$pkgver"
   make DESTDIR="$pkgdir" install
 }




More information about the arch-commits mailing list