void-packages/srcpkgs/wmii/template

27 lines
768 B
Bash

# Template file for 'wmii'
pkgname=wmii
version=3.9.2
revision=8
hostmakedepends="pkg-config"
makedepends="libXrandr-devel libXft-devel libXinerama-devel"
short_desc="Lightweight, dynamic window manager for X11"
maintainer="Zach L. <koni@archlinux.us>"
license="MIT"
homepage="https://code.google.com/p/wmii/"
distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/wmii/wmii+ixp-${version}.tbz"
checksum=0466f1a5c534b0ee9fdace2c7a2d251845b7ec0ae80bdb8e68ae6584ebeebf2b
python_version=2
CFLAGS="-fcommon"
LDFLAGS=" -lX11 -lXrender"
do_build() {
make CC="$CC -c" AR="$AR crs" LD=$CC RANLIB=$RANLIB \
V=1 PREFIX=/usr ETC=/usr/share
}
do_install() {
make PREFIX=/usr DESTDIR=${DESTDIR} ETC=/usr/share install
vlicense LICENSE
}