aboutsummaryrefslogtreecommitdiffstats
path: root/testing/fvwm/APKBUILD
blob: 91ff372c8f8deb4fd2706f5303636a605a95c74d (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
48
49
# 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"