mcwm: version must not contain dashes; install files to DESTDIR.

This commit is contained in:
Juan RP 2013-06-24 10:58:48 +02:00
parent 6749d2386f
commit c618944b57

View file

@ -1,14 +1,17 @@
# Template file for 'mcwm'
pkgname=mcwm
version=20130209-2
revision=1
_distver=20130209
_patchver=2
wrksrc=${pkgname}-${_distver}-${_patchver}
version=${_distver}.${_patchver}
revision=2
build_style=gnu-makefile
makedepends="libxcb-devel xcb-proto xcb-util-devel xcb-util-keysyms-devel xcb-util-wm-devel"
short_desc="A minimalist stacking X window manager based on XCB"
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
license="ISC"
homepage="http://hack.org/mc/projects/mcwm/"
distfiles="http://hack.org/mc/hacks/$pkgname/$pkgname-$version.tar.bz2"
distfiles="http://hack.org/mc/hacks/$pkgname/$pkgname-${_distver}-${_patchver}.tar.bz2"
checksum=2d2f9ced77bc6f90cb9fbdbf790eed97f3be28caefb0de496ac28813aed606be
do_build() {
@ -17,7 +20,9 @@ do_build() {
}
do_install() {
make PREFIX=/usr DESTDIR=${DESTDIR} install
vmkdir usr/bin
vmkdir usr/share/man/man1
make PREFIX=${DESTDIR}/usr install
vinstall LICENSE 644 usr/share/licenses/${pkgname}
}