summaryrefslogtreecommitdiff
path: root/extra/libstroke
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-05-09 20:31:54 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-05-09 20:31:54 -0300
commit8563d02ef05f21b537e3e1471c4034baa644a55f (patch)
tree6dee20109568b03da07cf3f6e0b61b4f73ed24e2 /extra/libstroke
parentb5e623669f9d93fa23637bc3beca5a1751e70ff1 (diff)
parentbbb460f85242e6ac03f47b74b9d0be66ff089ac4 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: core/libevent/PKGBUILD core/syslinux/PKGBUILD extra/a2ps/PKGBUILD extra/amarok/PKGBUILD extra/libstroke/PKGBUILD extra/pidgin/PKGBUILD
Diffstat (limited to 'extra/libstroke')
-rw-r--r--extra/libstroke/PKGBUILD38
1 files changed, 21 insertions, 17 deletions
diff --git a/extra/libstroke/PKGBUILD b/extra/libstroke/PKGBUILD
index a09b4aee1..ad67c9fe8 100644
--- a/extra/libstroke/PKGBUILD
+++ b/extra/libstroke/PKGBUILD
@@ -1,35 +1,39 @@
-# $Id: PKGBUILD 30070 2009-03-16 01:26:56Z eric $
-# Maintainer: Eric Belanger <eric@archlinux.org>
-# Contributor: damir <damir@archlinux.org>
+# $Id: PKGBUILD 123180 2011-05-09 03:18:04Z eric $
+# Maintainer: Eric BĂ©langer <eric@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' 'mips64el')
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
}