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

Ionut Biru ibiru at archlinux.org
Fri Mar 9 10:34:02 EST 2012


    Date: Friday, March 9, 2012 @ 10:34:02
  Author: ibiru
Revision: 152759

update to 3.3.18

Modified:
  gtkmm3/trunk/PKGBUILD

----------+
 PKGBUILD |   16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-03-09 15:06:07 UTC (rev 152758)
+++ PKGBUILD	2012-03-09 15:34:02 UTC (rev 152759)
@@ -4,18 +4,18 @@
 pkgbase=gtkmm3
 _pkgbasename=gtkmm
 pkgname=('gtkmm3' 'gtkmm3-docs')
-pkgver=3.2.0
+pkgver=3.3.18
 pkgrel=1
 arch=('i686' 'x86_64')
 makedepends=('gtk3' 'pangomm' 'atkmm' 'glibmm-docs' 'mm-common')
 license=('LGPL')
 options=('!libtool' '!emptydirs')
 url="http://www.gtkmm.org/"
-source=(http://ftp.gnome.org/pub/GNOME/sources/${_pkgbasename}/3.2/${_pkgbasename}-${pkgver}.tar.xz)
-sha256sums=('6195dac58454e287ae17d380c028827f0a49669a3b93f85e2d4f6eb9459674f2')
+source=(http://ftp.gnome.org/pub/GNOME/sources/$_pkgbasename/${pkgver%.*}/$_pkgbasename-$pkgver.tar.xz)
+sha256sums=('495330e2d697b04be161247003d5eb3dd45a5988dd631e789b631c5a05fb00bf')
 
 build() {
-  cd "${srcdir}/${_pkgbasename}-${pkgver}"
+  cd "$_pkgbasename-$pkgver"
   ./configure --prefix=/usr
   make
 }
@@ -23,16 +23,16 @@
 package_gtkmm3() {
   pkgdesc="C++ bindings for gtk3"
   depends=('gtk3' 'pangomm' 'atkmm')
-  cd "${srcdir}/${_pkgbasename}-${pkgver}"
+  cd "$_pkgbasename-$pkgver"
 
   sed -i -e 's/^doc_subdirs/#doc_subdirs/' Makefile
 
-  make DESTDIR="${pkgdir}" install
+  make DESTDIR="$pkgdir" install
 }
 
 package_gtkmm3-docs() {
   pkgdesc="Developer documentation for gtkmm v3"
 
-  cd "${srcdir}/${_pkgbasename}-${pkgver}"
-  make -C docs DESTDIR="${pkgdir}" install
+  cd "$_pkgbasename-$pkgver"
+  make -C docs DESTDIR="$pkgdir" install
 }



More information about the arch-commits mailing list