PKGBUILDs/extra/fvwm-crystal/PKGBUILD
2009-10-09 21:23:22 -05:00

33 lines
1.1 KiB
Bash

# $Id: PKGBUILD 18902 2008-11-10 05:56:25Z eric $
# Maintainer: Eric Belanger <eric@archlinux.org>
# Contributor: Simo Leone <simo@archlinux.org>
pkgname=fvwm-crystal
pkgver=3.0.6
pkgrel=2
pkgdesc="Transparent Themes for fvwm"
arch=('i686' 'x86_64')
url="http://www.fvwm-crystal.org"
license=('GPL')
depends=('fvwm-devel' 'imagemagick' 'python' 'habak' 'trayer')
source=(http://download.gna.org/fvwm-crystal/${pkgver}/${pkgname}-${pkgver}.tar.gz python2.6.patch)
md5sums=('82e2800882abb2c822519f1aa4dc0c72' '8e381c0233e3b6053722390e0e19b5ae')
sha1sums=('965e521f64b8a89994f5afee25c8b1c88239bff0' '6dfa5c12a29477111de8fbc3789d06c2ec04cf5e')
build() {
cd ${srcdir}/${pkgname}-${pkgver}/bin
patch -p0 < ../../python2.6.patch || return 1
cd ..
make prefix=${pkgdir}/usr install || return 1
# make gdm work
install -D -m644 addons/fvwm-crystal.desktop ${pkgdir}/etc/X11/sessions/fvwm-crystal.desktop || return 1
# Cleaning up files from svn tree
cd ${pkgdir}/usr/share/fvwm-crystal/fvwm/
rm -r */.svn
rm -r */*/.svn
rm -r */*/*/.svn
rm -r */*/*/*/.svn
rm -r */*/*/*/*/.svn
}