diff options
Diffstat (limited to 'community/gtk-theme-switch2')
-rw-r--r-- | community/gtk-theme-switch2/PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/community/gtk-theme-switch2/PKGBUILD b/community/gtk-theme-switch2/PKGBUILD new file mode 100644 index 000000000..a5b6b1015 --- /dev/null +++ b/community/gtk-theme-switch2/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 46954 2011-05-13 20:41:12Z andrea $ +# Contributor: Eddie Lozon <almostlucky@attbi.com> +# Contributor: Jason Chu <jason@archlinux.org> +# Contributor: Thayer Williams <thayer@archlinux.org> +# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us> + +pkgname=gtk-theme-switch2 +pkgver=2.1.0 +pkgrel=1 +pkgdesc="Gtk2 theme switcher" +url="http://muhri.net/nav.php3?node=gts" +arch=('i686' 'x86_64') +license=('GPL2') +depends=('gtk2') +source=(http://ftp.de.debian.org/debian/pool/main/g/gtk-theme-switch/gtk-theme-switch_${pkgver}.orig.tar.gz) +md5sums=('a9e7e62701cd4fba4d277dc210cd4317') + +build() { + cd ${srcdir}/gtk-theme-switch-${pkgver} + + make || return 1 +} + +package() { + cd ${srcdir}/gtk-theme-switch-${pkgver} + + install -Dm755 gtk-theme-switch2 \ + ${pkgdir}/usr/bin/gtk-theme-switch2 || return 1 + install -Dm644 gtk-theme-switch2.1 \ + ${pkgdir}/usr/share/man/man1/gtk-theme-switch2.1 || return 1 +} |