PKGBUILDs/extra/libstroke/PKGBUILD
2009-10-09 21:23:22 -05:00

35 lines
1.2 KiB
Bash

# $Id: PKGBUILD 30082 2009-03-16 03:09:22Z eric $
# Maintainer: Eric Belanger <eric@archlinux.org>
# Contributor: damir <damir@archlinux.org>
pkgname=libstroke
pkgver=0.5.1
pkgrel=3
pkgdesc="LibStroke is 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'\
'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
libtoolize --force --copy || return 1
aclocal || return 1
autoconf || return 1
automake --add-missing --force --copy || return 1
./configure --prefix=/usr || return 1
make || return 1
make DESTDIR=${pkgdir} install || return 1
}