diff options
-rw-r--r-- | .SRCINFO | 21 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 33 |
3 files changed, 58 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..93df26058b84 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,21 @@ +pkgbase = xfce-theme-manager + pkgdesc = A theme manager allowing easy configuration of themes, window borders, controls, icons and cursors for Xfce. + pkgver = 0.3.6 + pkgrel = 2 + url = http://keithhedger.hostingsiteforfree.com/pages/apps.html#themeed + arch = i686 + arch = x86_64 + license = GPL3 + makedepends = pkg-config + makedepends = make + makedepends = autoconf + depends = gdk-pixbuf2 + depends = cairo + depends = libxcursor + depends = libxfce4ui + optdepends = xfce4-composite-editor: A simple GUI to tweak xfwm, can be launched from xfce-theme-manager + source = http://keithhedger.hostingsiteforfree.com/zips/xfcethememanager/Xfce-Theme-Manager-0.3.6.tar.gz + sha256sums = fb9782c30bde3db988f98895ab5600d4d55b03dcc0fe4f2fd16216d4c95dfb11 + +pkgname = xfce-theme-manager + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..f71c635dafda --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +* +!.gitignore +!PKGBUILD +!.SRCINFO diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..59ad210b1df7 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,33 @@ +# Maintainer: Mario Finelli <mario dot finelli at yahoo dot com> +# Contributor: Martin F. Schumann <mfs at mfs dot name> + +pkgname=xfce-theme-manager +_pkgname=Xfce-Theme-Manager +pkgver=0.3.6 +pkgrel=2 +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") +sha256sums=('fb9782c30bde3db988f98895ab5600d4d55b03dcc0fe4f2fd16216d4c95dfb11') + +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 +} |