From 1fa6edfba8d1e31ca1c0d59e8202cd3c62ccf393 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 6 Feb 2012 23:14:50 +0000 Subject: Mon Feb 6 23:14:50 UTC 2012 --- community/gtk-chtheme/PKGBUILD | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) (limited to 'community/gtk-chtheme') diff --git a/community/gtk-chtheme/PKGBUILD b/community/gtk-chtheme/PKGBUILD index 5621dce39..fbce248ad 100644 --- a/community/gtk-chtheme/PKGBUILD +++ b/community/gtk-chtheme/PKGBUILD @@ -1,27 +1,29 @@ +# $Id: PKGBUILD 63616 2012-02-05 12:00:48Z ibiru $ # Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org # Maintainer: Daniel J Griffiths pkgname=gtk-chtheme pkgver=0.3.1 -pkgrel=6 +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) +source=("http://plasmasturm.org/programs/gtk-chtheme/${pkgname}-${pkgver}.tar.bz2") md5sums=('f688053bf26dd6c4f1cd0bf2ee33de2a') build() { - cd ${srcdir}/${pkgname}-${pkgver} + 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 || return 1 + # 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 || return 1 + cd ${srcdir}/${pkgname}-${pkgver} + + install -Dm755 gtk-chtheme ${pkgdir}/usr/bin/gtk-chtheme } -- cgit v1.2.3-54-g00ecf