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

Eric Bélanger eric at archlinux.org
Mon May 9 03:18:05 UTC 2011


    Date: Sunday, May 8, 2011 @ 23:18:04
  Author: eric
Revision: 123180

upgpkg: libstroke 0.5.1-4
Rebuilt with latest toolchain

Modified:
  libstroke/trunk/PKGBUILD
Deleted:
  libstroke/trunk/ChangeLog

-----------+
 ChangeLog |    8 --------
 PKGBUILD  |   36 ++++++++++++++++++++----------------
 2 files changed, 20 insertions(+), 24 deletions(-)

Deleted: ChangeLog
===================================================================
--- ChangeLog	2011-05-09 02:48:58 UTC (rev 123179)
+++ ChangeLog	2011-05-09 03:18:04 UTC (rev 123180)
@@ -1,8 +0,0 @@
-2009-03-14  Eric Belanger  <eric at archlinux.org>
-
-	* libstroke 0.5.1-3
-	* Fixed build issue
-	* Updated url
-	* Added license
-	* Added libx11 and gtk makedepends
-	* Added ChangeLog

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-05-09 02:48:58 UTC (rev 123179)
+++ PKGBUILD	2011-05-09 03:18:04 UTC (rev 123180)
@@ -1,35 +1,39 @@
 # $Id$
-# Maintainer: Eric Belanger <eric at archlinux.org>
-# Contributor: damir <damir at archlinux.org>
+# Maintainer: Eric Bélanger <eric at archlinux.org>
 
 pkgname=libstroke
 pkgver=0.5.1
-pkgrel=3
-pkgdesc="LibStroke is a stroke (mouse gesture) translation library"
+pkgrel=4
+pkgdesc="A stroke (mouse gesture) translation library"
 arch=('i686' 'x86_64')
 url="http://etla.net/libstroke/"
 license=('GPL2')
 depends=('glibc')
 makedepends=('libx11' 'gtk')
 options=('!libtool')
-source=(http://etla.net/libstroke/$pkgname-$pkgver.tar.gz libgstroke-Makefile.am.patch libstroke-Makefile.am.patch)
-md5sums=('51b9a4e309ac15cfcab96191eed03cb2' '60bbaf355355c3c66c8015b0f7feca85'\
+source=(http://etla.net/libstroke/${pkgname}-${pkgver}.tar.gz libgstroke-Makefile.am.patch libstroke-Makefile.am.patch)
+md5sums=('51b9a4e309ac15cfcab96191eed03cb2'
+         '60bbaf355355c3c66c8015b0f7feca85'
          '96413a77e1d39d1a3223e8eb6be8ef01')
 sha1sums=('48bd2b98faa8681ccd97eda7a09442845dbf1b7b'
           'a0c3bd9e894650475ba3049b0ef3d7f9580c203d'
           'ee5a3635c31dba00b070a942c512cc0d53056188')
 
 build() {
-  cd ${srcdir}/${pkgname}-${pkgver}
-  patch -p1 < ../libgstroke-Makefile.am.patch || return 1
-  patch -p1 < ../libstroke-Makefile.am.patch || return 1
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  patch -p1 < ../libgstroke-Makefile.am.patch
+  patch -p1 < ../libstroke-Makefile.am.patch
 
-  libtoolize --force --copy || return 1
-  aclocal || return 1
-  autoconf || return 1
-  automake --add-missing --force --copy || return 1
+  libtoolize --force --copy
+  aclocal
+  autoconf
+  automake --add-missing --force --copy
 
-  ./configure --prefix=/usr || return 1
-  make || return 1
-  make DESTDIR=${pkgdir} install || return 1
+  ./configure --prefix=/usr
+  make
 }
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+}




More information about the arch-commits mailing list