[arch-commits] Commit in gtk-chtheme/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 17:59:50 UTC 2020


    Date: Tuesday, July 7, 2020 @ 17:59:50
  Author: felixonmars
Revision: 659938

archrelease: copy trunk to community-staging-x86_64

Added:
  gtk-chtheme/repos/community-staging-x86_64/
  gtk-chtheme/repos/community-staging-x86_64/PKGBUILD
    (from rev 659937, gtk-chtheme/trunk/PKGBUILD)

----------+
 PKGBUILD |   30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

Copied: gtk-chtheme/repos/community-staging-x86_64/PKGBUILD (from rev 659937, gtk-chtheme/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 17:59:50 UTC (rev 659938)
@@ -0,0 +1,30 @@
+# Maintainer: Jonathan Steel <jsteel at archlinux.org>
+# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org
+# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
+
+pkgname=gtk-chtheme
+pkgver=0.3.1
+pkgrel=10
+pkgdesc="A little program to change your gtk+ 2.0 theme"
+arch=('x86_64')
+license=('GPL')
+url="http://plasmasturm.org/programs/gtk-chtheme/"
+depends=('gtk2')
+source=(http://plasmasturm.org/programs/$pkgname/$pkgname-$pkgver.tar.bz2)
+md5sums=('f688053bf26dd6c4f1cd0bf2ee33de2a')
+
+build() {
+  cd $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 $pkgname-$pkgver
+
+  install -Dm755 $pkgname "$pkgdir"/usr/bin/$pkgname
+}



More information about the arch-commits mailing list