summaryrefslogtreecommitdiff
path: root/community/gtk2_prefs/PKGBUILD
blob: 88d0b4b642c86c6ee91ccb02703fd41b164daf24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# $Id: PKGBUILD 65544 2012-02-21 08:50:29Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Roman Kyrylych <Roman.Kyrylych@gmail.com>
# Contributor: William Rea <sillywilly@gmail.com>

pkgname=gtk2_prefs
pkgver=0.4.1
pkgrel=3
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 <string.h>' src/main.cpp
  ./autogen.sh
  ./configure --prefix=/usr
  make
  make DESTDIR=$pkgdir install
}