[arch-commits] CVS update of extra/multimedia/sodipodi (PKGBUILD sodipodi.install)

Jan de Groot jgc at archlinux.org
Sun Apr 22 14:01:37 EDT 2007


    Date: Sunday, April 22, 2007 @ 14:01:37
  Author: jgc
    Path: /home/cvs-extra/extra/multimedia/sodipodi

   Added: sodipodi.install (1.1)
Modified: PKGBUILD (1.10 -> 1.11)

upgpkg: sodipodi 0.34-4
Move to /usr (does anyone still use this???)


------------------+
 PKGBUILD         |   21 ++++++++++++---------
 sodipodi.install |   15 +++++++++++++++
 2 files changed, 27 insertions(+), 9 deletions(-)


Index: extra/multimedia/sodipodi/PKGBUILD
diff -u extra/multimedia/sodipodi/PKGBUILD:1.10 extra/multimedia/sodipodi/PKGBUILD:1.11
--- extra/multimedia/sodipodi/PKGBUILD:1.10	Thu Jul 20 16:14:23 2006
+++ extra/multimedia/sodipodi/PKGBUILD	Sun Apr 22 14:01:37 2007
@@ -1,20 +1,23 @@
-# $Id: PKGBUILD,v 1.10 2006/07/20 20:14:23 andyrtr Exp $
+# $Id: PKGBUILD,v 1.11 2007/04/22 18:01:37 jgc Exp $
 # Maintainer: dorphell <dorphell at archlinux.org>
 pkgname=sodipodi
 pkgver=0.34
-pkgrel=3
+pkgrel=4
 pkgdesc="Sodipodi is a vector-based drawing program"
 arch=(i686 x86_64)
-depends=('gtk2' 'libart-lgpl' 'libxml2' 'popt' 'perl' 'gnome-common')
-source=(http://telia.dl.sourceforge.net/sourceforge/sodipodi/$pkgname-$pkgver.tar.gz)
+license=('GPL' 'LGPL')
+depends=('gtk2>=2.10.11' 'libart-lgpl>=2.3.19' 'libxml2' 'popt' 'perl' 'desktop-file-utils')
+makedepends=('pkgconfig')
+options=('nolibtool')
+install=sodipodi.install
+source=(http://dl.sourceforge.net/sourceforge/sodipodi/${pkgname}-${pkgver}.tar.gz)
 url="http://sodipodi.sourceforge.net/"
 md5sums=('396cd78526e5a8102fd11114f45a70fe')
 
 build() {
-  [ "$GNOMEDIR" = "" ] && source /etc/profile.d/gnome.sh
-  cd $startdir/src/$pkgname-$pkgver
-  ./configure --prefix=/opt/gnome 
+  cd $startdir/src/${pkgname}-${pkgver}
+  ./configure --prefix=/usr --sysconfdir=/etc \
+              --localstatedir=/var --disable-static
   make || return 1
-  make prefix=$startdir/pkg/opt/gnome install
-  find $startdir/pkg -name '*\.la' -exec rm {} \;
+  make DESTDIR=${startdir}/pkg install
 }
Index: extra/multimedia/sodipodi/sodipodi.install
diff -u /dev/null extra/multimedia/sodipodi/sodipodi.install:1.1
--- /dev/null	Sun Apr 22 14:01:37 2007
+++ extra/multimedia/sodipodi/sodipodi.install	Sun Apr 22 14:01:37 2007
@@ -0,0 +1,15 @@
+post_install() {
+  update-desktop-database -q
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}
+
+op=$1
+shift
+$op $*




More information about the arch-commits mailing list