From ecc3e4a22fc75b7864be70340370f2f0d0511fa4 Mon Sep 17 00:00:00 2001 From: mulenmar Date: Sat, 23 Jun 2012 12:44:21 -0400 Subject: Don't install nonfree themes from Debian's icewm-themes source package --- libre-testing/icewm-themes-libre/PKGBUILD | 47 +++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 libre-testing/icewm-themes-libre/PKGBUILD (limited to 'libre-testing') diff --git a/libre-testing/icewm-themes-libre/PKGBUILD b/libre-testing/icewm-themes-libre/PKGBUILD new file mode 100644 index 000000000..a6cb0a6ba --- /dev/null +++ b/libre-testing/icewm-themes-libre/PKGBUILD @@ -0,0 +1,47 @@ +# $Id: PKGBUILD 65600 2012-02-21 09:25:34Z spupykin $ +# Maintainer: Sergej Pupykin +# Contributor: Alessio 'mOLOk' Bolognino +# Maintainer (Parabola): Ben Peterson + +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 {} \; +} -- cgit v1.2.3