# Tanım: A stroke (mouse gesture) translation library
# URL: http://etla.net/libstroke/
# Paketçi: milisarge
# Gerekler: xorg-libx11 

isim=libstroke
surum=0.5.1
devir=1
kaynak=(http://www.etla.net/libstroke/libstroke-${surum}fvwm.tar.gz
		libgstroke-Makefile.am.patch
		libstroke-Makefile.am.patch
		libstroke-0.5.1-m4_syntax.patch
		libstroke-0.5.1-no_gtk1.patch)

derle() {
	cd ${pkgname}-${pkgver}
	patch -p1 -i "${srcdir}/libgstroke-Makefile.am.patch"
	patch -p1 -i "${srcdir}/libstroke-Makefile.am.patch"
	patch -p1 -i "${srcdir}/libstroke-0.5.1-m4_syntax.patch"
	patch -p1 -i "${srcdir}/libstroke-0.5.1-no_gtk1.patch"
	autoreconf --force --install
	./configure --prefix=/usr
	make
	make DESTDIR="${pkgdir}" install
}