summaryrefslogtreecommitdiff
path: root/extra/gtk-theme-switch2/PKGBUILD
blob: 650dd50f75242d8c99f2bbb37ec8ffb259b875f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# $Id: PKGBUILD 75632 2010-04-02 01:24:28Z dgriffiths $
# 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
}