[arch-commits] Commit in gnome-terminal/trunk (PKGBUILD gnome-terminal.install)

Ionut Biru ibiru at archlinux.org
Sat Mar 10 12:11:57 EST 2012


    Date: Saturday, March 10, 2012 @ 12:11:56
  Author: ibiru
Revision: 152923

update to 3.3.0

Modified:
  gnome-terminal/trunk/PKGBUILD
  gnome-terminal/trunk/gnome-terminal.install

------------------------+
 PKGBUILD               |   18 +++++++++---------
 gnome-terminal.install |    4 ++--
 2 files changed, 11 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-03-10 17:06:41 UTC (rev 152922)
+++ PKGBUILD	2012-03-10 17:11:56 UTC (rev 152923)
@@ -2,7 +2,7 @@
 # Maintainer: Jan de Groot <jgc at archlinux.org>
 
 pkgname=gnome-terminal
-pkgver=3.2.1
+pkgver=3.3.0
 pkgrel=1
 pkgdesc="The GNOME Terminal Emulator"
 arch=('i686' 'x86_64')
@@ -13,21 +13,21 @@
 url="http://www.gnome.org"
 groups=('gnome')
 install=gnome-terminal.install
-source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/3.2/${pkgname}-${pkgver}.tar.xz)
-sha256sums=('c36a6bce466447526cb73779ee8e861f079e86cef68a50f7c8fbed540d5f373e')
+source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
+sha256sums=('7b158505dc1c8e03d75fabfae22eaec0404e934af0d0ab1eab202f0f8826befe')
 
 build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
+  cd "$pkgname-$pkgver"
   ./configure --prefix=/usr --sysconfdir=/etc \
       --localstatedir=/var --disable-scrollkeeper
   make
 }
 
 package() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install
+  cd "$pkgname-$pkgver"
+  make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="$pkgdir" install
 
-  install -m755 -d "${pkgdir}/usr/share/gconf/schemas"
-  gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain gnome-terminal ${pkgdir}/etc/gconf/schemas/*.schemas
-  rm -f ${pkgdir}/etc/gconf/schemas/*.schemas
+  install -m755 -d "$pkgdir/usr/share/gconf/schemas"
+  gconf-merge-schema "$pkgdir/usr/share/gconf/schemas/$pkgname.schemas" --domain gnome-terminal "$pkgdir"/etc/gconf/schemas/*.schemas
+  rm -f "$pkgdir"/etc/gconf/schemas/*.schemas
 }

Modified: gnome-terminal.install
===================================================================
--- gnome-terminal.install	2012-03-10 17:06:41 UTC (rev 152922)
+++ gnome-terminal.install	2012-03-10 17:11:56 UTC (rev 152923)
@@ -1,7 +1,7 @@
 pkgname=gnome-terminal
 
 post_install() {
-  usr/sbin/gconfpkg --install ${pkgname}
+  gconfpkg --install $pkgname
 }
 
 pre_upgrade() {
@@ -13,5 +13,5 @@
 }
 
 pre_remove() {
-  usr/sbin/gconfpkg --uninstall ${pkgname}
+  gconfpkg --uninstall $pkgname
 }



More information about the arch-commits mailing list