[arch-commits] Commit in ed2k-gtk-gui/trunk (PKGBUILD)

Eric Bélanger eric at archlinux.org
Thu Mar 19 05:50:42 UTC 2009


    Date: Thursday, March 19, 2009 @ 01:50:42
  Author: eric
Revision: 30396

upgpkg: ed2k-gtk-gui 0.6.4-3
    Added license, Added arch field, FHS man pages, Fixed build issue

Modified:
  ed2k-gtk-gui/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-03-19 00:28:48 UTC (rev 30395)
+++ PKGBUILD	2009-03-19 05:50:42 UTC (rev 30396)
@@ -1,21 +1,21 @@
 # $Id$
-# Maintainer: eric <eric at archlinux.org>
 # Contributor: Nick Martens (nick1337 at xs4all.nl)
 
 pkgname=ed2k-gtk-gui
 pkgver=0.6.4
-pkgrel=2
+pkgrel=3
 pkgdesc="A GUI for the eDonkey2000 and Overnet file-sharing programs"
+arch=('i686' 'x86_64')
+url="http://ed2k-gtk-gui.sourceforge.net/index.shtml"
+license=('GPL')
 depends=('gtk2' 'gnet')
-url="http://ed2k-gtk-gui.sourceforge.net/index.shtml"
-license=('GPL2')
-source=(http://dl.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
+source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
 md5sums=('c51ddfc64ba39e2bb5383a95afe72c53')
 
 build() {
-  cd $startdir/src/$pkgname-$pkgver
-  ./configure --prefix=/usr
-  /usr/bin/make || return 1
-  /usr/bin/make prefix=$startdir/pkg/usr install
+  cd $srcdir/$pkgname-$pkgver
+  ./configure --prefix=/usr --mandir=/usr/share/man || return 1
+  sed -i 's/-DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED//' ed2k_gui/Makefile || return 1
+  make || return 1
+  make DESTDIR=$pkgdir install || return 1
 }
-# vim: ts=2 sw=2 et ft=sh




More information about the arch-commits mailing list