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

31 lines
1.3 KiB
Bash

# $Id: PKGBUILD 53326 2009-09-29 03:54:06Z eric $
# Maintainer: Eric Belanger <eric@archlinux.org>
# Contributor: Tobias Kieslich <tobias@archlinux.org>
pkgname=fvwm-devel
pkgver=2.5.28
pkgrel=1
pkgdesc="A multiple large virtual desktop window manager originally derived from twm"
arch=('i686' 'x86_64')
url="http://www.fvwm.org"
license=('GPL' 'custom')
depends=('imlib' 'fribidi' 'perl' 'libstroke' 'libxpm' 'readline>=6.0.00' 'librsvg')
makedepends=('pkgconfig')
conflicts=('fvwm')
provides=("fvwm=${pkgver}")
source=(ftp://ftp.fvwm.org/pub/fvwm/version-2/fvwm-${pkgver}.tar.bz2 fvwm-devel.desktop)
md5sums=('8e11fa4f752c568b392973d13af993df' '3f5bcb246e035ff29aa5bf54487a3db4')
sha1sums=('26b83b88656faa3d21ab55544269954e534abe08' '17db773870637b410ceb4f68743dbd517bc5c599')
build() {
cd "${srcdir}/fvwm-${pkgver}"
./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib --with-stroke || return 1
make || return 1
make DESTDIR="${pkgdir}" install || return 1
install -d "${pkgdir}/etc/fvwm"
install -D -m644 sample.fvwmrc/* "${pkgdir}/etc/fvwm" || return 1
rm -f "${pkgdir}"/etc/fvwm/Makefile*
install -D -m644 ../fvwm-devel.desktop "${pkgdir}/etc/X11/sessions/fvwm-devel.desktop" || return 1
install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING" || return 1
}