summaryrefslogtreecommitdiff
path: root/extra/libgnomecanvasmm/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libgnomecanvasmm/PKGBUILD')
-rw-r--r--extra/libgnomecanvasmm/PKGBUILD20
1 files changed, 12 insertions, 8 deletions
diff --git a/extra/libgnomecanvasmm/PKGBUILD b/extra/libgnomecanvasmm/PKGBUILD
index 7141ca4ad..abc32dd66 100644
--- a/extra/libgnomecanvasmm/PKGBUILD
+++ b/extra/libgnomecanvasmm/PKGBUILD
@@ -1,24 +1,28 @@
-# $Id: PKGBUILD 33795 2009-04-04 20:02:36Z jgc $
+# $Id: PKGBUILD 137754 2011-09-10 15:22:05Z pierre $
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: Kritoke <typeolinux@yahoo.com>
pkgname=libgnomecanvasmm
pkgver=2.26.0
-pkgrel=1
+pkgrel=2
pkgdesc="A C++ wrapper for libgnomecanvas."
-arch=(i686 x86_64 'mips64el')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
-depends=('gtkmm>=2.16.0' 'libgnomecanvas>=2.26.0')
+depends=('gtkmm' 'libgnomecanvas')
makedepends=('pkgconfig')
options=('!libtool')
url="http://gtkmm.sourceforge.net/"
-source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.26/${pkgname}-${pkgver}.tar.bz2)
+source=("http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.26/${pkgname}-${pkgver}.tar.bz2")
md5sums=('a148c99311d46397de6e4a31736771ab')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr --sysconfdir=/etc \
- --localstatedir=/var || return 1
- make || return 1
- make DESTDIR="${pkgdir}" install || return 1
+ --localstatedir=/var
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
}