summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4f826bc6a638fae03ff0d3b9dbc7d579c7b76631 (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
# Maintainer: valere dot monseur at ymail dot com

pkgname=xcursor-neutral++-white
pkgver=1.1.1
pkgrel=1
pkgdesc="Icon set based on Neutral and jaguarx themes (white version)"
arch=('any')
url="http://gnome-look.org/content/show.php/Neutral%2B%2B+White?content=108143"
license=('Artistic2.0')
source=(http://gnome-look.org/CONTENT/content-files/108143-Neutral++_White-1.1.1.tar.xz)
md5sums=('acf67334d7c6ea30e8a6008f07c4f94c')

build() {
  true
}

package() {
  cd "${srcdir}"

  # install theme
  install -d "${pkgdir}"/usr/share/icons/Neutral++White
  cp -R "${srcdir}"/Neutral++_White/cursors "${pkgdir}"/usr/share/icons/Neutral++White

  # install license
  install -D "${srcdir}"/Neutral++_White/LICENSE "${pkgdir}"/usr/share/licenses/Neutral++White/LICENSE

  # force permission and ownership
  find "${pkgdir}"/ -type d -exec chmod 755 '{}' \;
  find "${pkgdir}"/ -type f -exec chmod 644 '{}' \;
  chown -R root.root "${pkgdir}"/*
}