summaryrefslogtreecommitdiff
path: root/pcr/xfce-theme-manager
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-04-10 02:45:16 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-04-10 02:45:16 -0300
commit4c543e20ad4e3e79b908769f50822c47ff74fa03 (patch)
tree21c66f679dd4a5dd634a829d2892330d4d1f64b0 /pcr/xfce-theme-manager
parent604324c6c0349db28db88c8db20f33974e94e577 (diff)
downloadabslibre-4c543e20ad4e3e79b908769f50822c47ff74fa03.tar.gz
abslibre-4c543e20ad4e3e79b908769f50822c47ff74fa03.tar.bz2
abslibre-4c543e20ad4e3e79b908769f50822c47ff74fa03.zip
xfce-theme-manager: add new package to [pcr]
Diffstat (limited to 'pcr/xfce-theme-manager')
-rw-r--r--pcr/xfce-theme-manager/PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/pcr/xfce-theme-manager/PKGBUILD b/pcr/xfce-theme-manager/PKGBUILD
new file mode 100644
index 000000000..46c30a6f0
--- /dev/null
+++ b/pcr/xfce-theme-manager/PKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer (Arch): Mario Finelli <mtfinelli at gmail dot com>
+# Contributor (Arch): Martin F. Schumann <mfs at mfs dot name>
+
+pkgname=xfce-theme-manager
+_pkgname=Xfce-Theme-Manager
+pkgver=0.3.6
+pkgrel=1
+pkgdesc="A theme manager allowing easy configuration of themes, window borders, controls, icons and cursors for Xfce."
+arch=('i686' 'x86_64')
+url="http://keithhedger.hostingsiteforfree.com/pages/apps.html#themeed"
+license=("GPL3")
+depends=('gdk-pixbuf2' 'cairo' 'libxcursor' 'libxfce4ui')
+optdepends=('xfce4-composite-editor: A simple GUI to tweak xfwm, can be launched from xfce-theme-manager')
+makedepends=('pkg-config' 'make' 'autoconf')
+source=("http://keithhedger.hostingsiteforfree.com/zips/xfcethememanager/$_pkgname-${pkgver}.tar.gz")
+md5sums=('e0be6ddcf9d063253fa92e8f71b7316d')
+
+build() {
+ cd "$srcdir"/$_pkgname-$pkgver
+ ./autogen.sh --prefix="$pkgdir"/usr
+}
+
+package() {
+ install -m 755 -d "$pkgdir"/usr/bin "$pkgdir"/usr/share/applications "$pkgdir"/usr/share/doc/xfce-theme-manager
+ sed -i 's#/PREFIX/share/Xfce\\-Theme\\-Manager/scripts#/usr/share/xfce\\-theme\\-manager/scripts#g' "$srcdir"/$_pkgname-$pkgver/$_pkgname/resources/man/*
+ cd "$srcdir"/$_pkgname-$pkgver
+ sed -i 's/Name=Xfce-Theme-Manager/Name=Xfce Theme Manager/g;s/^Comment.*/Comment=Control Xfce4 Themes, Icons, Cursors, Wallpapers and more/g' $_pkgname/resources/pixmaps/$_pkgname.desktop
+ make CXXFLAGS="$CXXFLAGS -O3 -Wall `pkg-config --cflags --libs glib-2.0` `pkg-config --cflags --libs gdk-2.0` `pkg-config --cflags --libs gtk+-2.0` `pkg-config --cflags --libs xcursor` `pkg-config --cflags --libs gthread-2.0`" PREFIX="$pkgdir/usr" install
+ install -m 644 README* "$pkgdir"/usr/share/doc/$pkgname/
+ install -m 644 ChangeLog* "$pkgdir"/usr/share/doc/$pkgname/
+ mv "$pkgdir"/usr/share/{$_pkgname,$pkgname}
+ mv "$pkgdir"/usr/share/applications/{$_pkgname,$pkgname}.desktop
+}