# $Id: PKGBUILD 114019 2014-07-01 12:19:28Z spupykin $ # Maintainer: Sergej Pupykin # Maintainer: Roman Kyrylych # Contributor: William Rea pkgname=gtk2_prefs pkgver=0.4.1 pkgrel=4 pkgdesc="A GTK2 theme selector and font switcher" arch=('i686' 'x86_64') url="http://gtk-win.sourceforge.net/home/index.php/en/Gtk2Prefs" license=("GPL") depends=('gtk2') source=(http://downloads.sourceforge.net/gtk-win/gtk2_prefs-$pkgver.tar.bz2) md5sums=('873d2a7707e1dcadc861399434d98d86') build() { cd $srcdir/$pkgname-$pkgver sed -i '1,1i#include ' src/main.cpp ./autogen.sh ./configure --prefix=/usr make } package() { cd $srcdir/$pkgname-$pkgver make DESTDIR=$pkgdir install }