updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / gartoon-redux-icon-theme / PKGBUILD
blob12145a724978199d8c378807e71d4a078c959fa3
1 # Contributor: grimi <grimi at poczta dot fm>
3 pkgname=gartoon-redux-icon-theme
4 pkgver=1.10
5 pkgrel=1
6 pkgdesc="Massively improved variant of the much-beloved Gartoon theme"
7 arch=('any')
8 url="http://www.gnome-look.org/content/show.php/Gartoon+Redux?content=74841"
9 license=('GPL')
10 makedepends=('librsvg' 'perl')
11 install=gartoon-redux.install
12 source=("http://tweenk.artfx.pl/gartoon/source/gartoon-redux-${pkgver}.tar.gz" \
13         "distribution-arch-linux.svg" "application-x-archpkg.svg")
14 md5sums=('a8d24f2a42e89a38adce8fe8bb4af3f9'
15          '1d6c5095efa1d5205d0e9cf43b35bafd'
16          'de5b7a97d72848e6ea57dedac8e2565d')
18 build() {
19   cd "$srcdir/gartoon-redux-$pkgver"
20   
21   # wrong size of orginal distribution-arch-linux.svg, copy right size (90x90)
22   cp -f $srcdir/distribution-arch-linux.svg src/extras/
23   
24   # a bit hackish, fix logo install script (this way no needed "lsb-release")
25   sed "s|\`lsb_release -si\`|'arch linux'|g" -i fix-logo.pl
26   
27   # copy archpkg mime icon
28   cp $srcdir/application-x-archpkg.svg src/mimetypes/
30   # configure & make
31   ./configure --sizes=16,22,24,32 --prefix=$pkgdir/usr
33   msg "Rendering 16,22,24,32 sized icons. Please wait ..."
34   make &>/dev/null
37 package() {
38   cd "$srcdir/gartoon-redux-$pkgver"
39   make install