summaryrefslogtreecommitdiff
path: root/community/gtk2_prefs/PKGBUILD
blob: ae74fd2a593d0e7fc77a917a38cfe94233d31e8e (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
25
26
27
28
# $Id: PKGBUILD 114019 2014-07-01 12:19:28Z 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=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 <string.h>' src/main.cpp
  ./autogen.sh
  ./configure --prefix=/usr
  make
}

package() {
  cd $srcdir/$pkgname-$pkgver
  make DESTDIR=$pkgdir install
}