diff options
author | root <root@rshg054.dnsready.net> | 2012-01-31 23:14:57 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-01-31 23:14:57 +0000 |
commit | c34f78dd37c2a2015d43de5d89748a2f8147ba1b (patch) | |
tree | 2e3912930db02e8f8cbfa8a58eae203b886fa2d9 /community-testing/gtk-chtheme/PKGBUILD | |
parent | 902eddd7e029eda6fc1c668b31e696c6ca3edbc7 (diff) |
Tue Jan 31 23:14:56 UTC 2012
Diffstat (limited to 'community-testing/gtk-chtheme/PKGBUILD')
-rw-r--r-- | community-testing/gtk-chtheme/PKGBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/community-testing/gtk-chtheme/PKGBUILD b/community-testing/gtk-chtheme/PKGBUILD new file mode 100644 index 000000000..e7901bf97 --- /dev/null +++ b/community-testing/gtk-chtheme/PKGBUILD @@ -0,0 +1,29 @@ +# $Id: PKGBUILD 63154 2012-01-30 18:59:32Z ibiru $ +# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org +# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us> + +pkgname=gtk-chtheme +pkgver=0.3.1 +pkgrel=7 +pkgdesc="This little program lets you change your Gtk+ 2.0 theme. A better alternative to switch2" +arch=('i686' 'x86_64') +license=('GPL') +url="http://plasmasturm.org/programs/gtk-chtheme/" +depends=('gtk2') +source=("http://plasmasturm.org/programs/gtk-chtheme/${pkgname}-${pkgver}.tar.bz2") +md5sums=('f688053bf26dd6c4f1cd0bf2ee33de2a') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + + # Fix xdg compliancy + sed -i 's|-DGTK.*||' Makefile + sed -i 's|theme_list(g_.*|&\n\tread_theme_list(g_strconcat(g_get_user_data_dir(), "/themes", NULL));|' main.c + make +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + + install -Dm755 gtk-chtheme ${pkgdir}/usr/bin/gtk-chtheme +} |