summaryrefslogtreecommitdiff
path: root/libre-testing/icewm-themes-libre/PKGBUILD
blob: a6cb0a6bacec3384dba1389023246efe896d6bbb (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
41
42
43
44
45
46
47
# $Id: PKGBUILD 65600 2012-02-21 09:25:34Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Alessio 'mOLOk' Bolognino <themolok@gmail.com>
# Maintainer (Parabola): Ben Peterson <mulenmar@yahoo.com>

pkgname=icewm-themes-libre
_pkgname=icewm-themes
pkgver=1.2.26
pkgrel=4
pkgdesc="Themes for Ice Window Manager. (no trademarked themes)"
arch=('any')
license=("GPLv2")
url=http://www.debian.org
depends=(icewm)
source=(http://ftp.debian.org/debian/pool/main/i/icewm-themes/icewm-themes_$pkgver.orig.tar.gz)
md5sums=('c0fd0de59e6f74c9c86c0bc334eb6b9e')
replaces=('icewm-themes')


build() {
  cd $srcdir/$_pkgname-$pkgver
  mkdir -p $pkgdir/usr/share/icewm/themes
  cp -r $srcdir/$_pkgname-$pkgver/* $pkgdir/usr/share/icewm/themes/

  # Remove themes with Microsoft® Windows® trademarks
  rm $pkgdir/usr/share/icewm/themes/fake95 -rf
  rm $pkgdir/usr/share/icewm/themes/GlamICE -rf

  # Remove themes with Apple® trademarks (changing capitalizations doesn't make
  # it free)
  rm $pkgdir/usr/share/icewm/themes/liQuid -rf
  rm $pkgdir/usr/share/icewm/themes/sortofaqua -rf
  rm $pkgdir/usr/share/icewm/themes/aquablue -rf
  rm $pkgdir/usr/share/icewm/themes/jim-mac -rf

  # Remove themes with other trademarks
  rm $pkgdir/usr/share/icewm/themes/slashdot -rf
  rm $pkgdir/usr/share/icewm/themes/Slashdot -rf
  rm $pkgdir/usr/share/icewm/themes/yamm -rf
 
  # Remove themes with copyright violations
  rm $pkgdir/usr/share/icewm/themes/Urbicande -rf


  find $pkgdir -type d -exec chmod 755 {} \;
  find $pkgdir -type f -exec chmod 644 {} \;
}