summaryrefslogtreecommitdiffstats
path: root/abs/core/xcursor-vanilla-dmz/PKGBUILD
blob: 5ee1259a85228b41e0d0d1043d5975fa6ba989f1 (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
32
33
34
35
36
37
38
39
40
# $Id$
# Maintainer: Balló György <ballogyor+arch at gmail dot com>
# Contributor: Roman Kyrylych <Roman.Kyrylych@gmail.com>
# Contributor: Björn Martensen <bjoern.martensen@gmail.com>
# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>

pkgbase=xcursor-vanilla-dmz
pkgname=('xcursor-vanilla-dmz' 'xcursor-vanilla-dmz-aa')
pkgver=0.4.4
pkgrel=1
arch=('any')
url="http://jimmac.musichall.cz/"
license=('CCPL:by-nc-sa')
makedepends=('xorg-xcursorgen')
source=(http://ftp.de.debian.org/debian/pool/main/d/dmz-cursor-theme/dmz-cursor-theme_$pkgver.tar.gz)
md5sums=('06fbab13df89c5770ce61b0e3e31e5f6')

build() {
  cd "$srcdir/dmz-cursor-theme-$pkgver"
  (cd DMZ-White/pngs ; ./make.sh)
  (cd DMZ-Black/pngs ; ./make.sh)
}

package_xcursor-vanilla-dmz() {
  pkgdesc="Vanilla DMZ cursor theme"

  cd "$srcdir/dmz-cursor-theme-$pkgver"
  install -d "$pkgdir"/usr/share/icons/Vanilla-DMZ/cursors
  cp -a DMZ-White/xcursors/* "$pkgdir"/usr/share/icons/Vanilla-DMZ/cursors
  install -Dm644 DMZ-White/index.theme "$pkgdir"/usr/share/icons/Vanilla-DMZ/index.theme
}

package_xcursor-vanilla-dmz-aa() {
  pkgdesc="Vanilla DMZ AA cursor theme"

  cd "$srcdir/dmz-cursor-theme-${pkgver}"
  install -d "$pkgdir"/usr/share/icons/Vanilla-DMZ-AA/cursors
  cp -a DMZ-Black/xcursors/* "$pkgdir"/usr/share/icons/Vanilla-DMZ-AA/cursors
  install -Dm644 DMZ-Black/index.theme "$pkgdir"/usr/share/icons/Vanilla-DMZ-AA/index.theme
}