aports/testing/fvwm/APKBUILD
Natanael Copa 3b783ce013 testing/fvwm: move perl and libxslt to makedepends
This is a cosmetic fix. libxslt and perl are needed for generation of
man pages. By moving them we make it more visible tht they are not
needed for any potensial future fvwm-dev package.
2014-07-28 11:06:08 +00:00

50 lines
1.3 KiB
Plaintext

# Contributor: ScrumpyJack <scrumpyjack@me.com>
# Maintainer:
pkgname=fvwm
pkgver=2.6.5
pkgrel=0
pkgdesc="FVWM is a powerful desktop window manager for the X Window system"
url="http://fvwm.org"
arch="all"
license="GPL2"
depends=
depends_dev="libxcursor-dev libx11-dev freetype-dev fontconfig-dev
gettext-dev libxft-dev libxt-dev libxext-dev libpng-dev libxpm-dev"
makedepends="$depends_dev perl libxslt"
install=""
subpackages="$pkgname-doc $pkgname-lang"
source="ftp://ftp.fvwm.org/pub/fvwm/version-2/${pkgname}-${pkgver}.tar.gz"
_builddir=$srcdir/${pkgname}-${pkgver}
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
./configure --prefix=/usr \
--disable-perllib \
--disable-bidi \
--disable-rsvg \
--disable-xinerama \
--disable-gtk \
--with-gnome=no \
|| return 1
make
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
}
md5sums="3528f6618fae00d373e2edd422734291 fvwm-2.6.5.tar.gz"
sha256sums="f01f9da8076852f8db114f90f2b0758c21d265e2958fce04289e417bceba12d1 fvwm-2.6.5.tar.gz"
sha512sums="02af6738f75061a2c86ebb6e0ebd411cf59d1741784e85323c15f8faac694fb53c9e9581b612b0bf92ed2feb3a350588e1ab016edb5ace3e2145403e9a19711b fvwm-2.6.5.tar.gz"