evilwm: simplify by using the gnu-makefile build_style

This commit is contained in:
Ypnose 2013-12-30 19:33:54 +01:00
parent a90e64652f
commit 433410ac73

View file

@ -1,7 +1,9 @@
# Template file for 'evilwm'
pkgname=evilwm
version=1.1.0
revision=1
revision=2
build_style=gnu-makefile
make_install_args="INSTALL_STRIP="
short_desc="A minimalist window manager for the X Window System"
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
homepage="http://evilwm.sourceforge.net"
@ -10,12 +12,7 @@ distfiles="http://www.6809.org.uk/$pkgname/$pkgname-$version.tar.gz"
checksum=cdc763c875b64ee3734f3cb764249e91ec659f550177ec1bb564304260ef0c75
makedepends="libXrandr-devel"
do_build() {
make CC=$CC STRIP=$STRIP ${makejobs}
}
do_install() {
make PREFIX=/usr DESTDIR=$DESTDIR INSTALL_STRIP= install
post_install() {
vinstall ${FILESDIR}/evilwm.desktop 644 usr/share/xsessions
vinstall ${FILESDIR}/LICENSE 644 usr/share/licenses/$pkgname
}