updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / hydroxygen-iconset / PKGBUILD
blob0731dea85ea66dc5a30165c805c903d97a21b1e0
1 # Contributor: Devin Cofer <ranguvar{AT]archlinux[DOT}us>
2 # Contributor: William Díaz <wdiaz [at] archlinux [dot] us>
3 # Contributor: Simone Pignatti <simo91.linux@gmail.com>
5 pkgname=hydroxygen-iconset
6 pkgver=20090119
7 pkgrel=2
8 pkgdesc="GTK+ port of the KDE4 Oxygen icon theme"
9 arch=('i686' 'x86_64')
10 url="http://deviantdark.deviantart.com/art/hydroxygen-iconset-100826865"
11 license=("custom:cc-gnu_gpl")
13 makedepends=('findutils')
14 depends=('gtk2')
16 source=("http://fc04.deviantart.com/fs40/f/2009/019/8/7/hydroxygen_iconset_by_deviantdark.zip"
17         'hydroxygen-chtype')
18 sha256sums=('ff6e22c842c4f8a3f9a38dc6d0f78cfde116e22d8bee606db072b0c03d4389e5'
19             'd99f13f554b9b87f2c618247af4413a9276e658e77ebc242bc2b1fbcaaaca4de')
20 install="$pkgname.install"
22 build() {
23         cd "$srcdir/iconset"
25         tar xf hydroxygen_iconset.tar.bz2 || return 1
26         find hydroxygen -type d -print0 | xargs -0 chmod 0775 || return 1
27         find hydroxygen -type f -print0 | xargs -0 chmod 0664 || return 1
28         install -Dm755 "$srcdir/hydroxygen-chtype" "$pkgdir/usr/bin/hydroxygen-chtype" || return 1
30         install -Dm644 "hydroxygen/COPYING" "$pkgdir/usr/share/licenses/$pkgname/COPYING" || return 1
31         mkdir -p "$pkgdir/usr/share/icons/"
32         mv hydroxygen/ "$pkgdir/usr/share/icons/" || return 1