From 536ed7851fdd526eba2f05a91bf0828f1431ff05 Mon Sep 17 00:00:00 2001 From: Ypnose Date: Sun, 23 Jun 2013 17:20:22 +0200 Subject: [PATCH] New package: mcwm-20130209 --- srcpkgs/mcwm/template | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 srcpkgs/mcwm/template diff --git a/srcpkgs/mcwm/template b/srcpkgs/mcwm/template new file mode 100644 index 0000000000..c95e6b3528 --- /dev/null +++ b/srcpkgs/mcwm/template @@ -0,0 +1,28 @@ +# Template file for 'mcwm' +pkgname=mcwm +version=20130209-2 +revision=1 +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 " +license="ISC" +homepage="http://hack.org/mc/projects/mcwm/" +distfiles="http://hack.org/mc/hacks/$pkgname/$pkgname-$version.tar.bz2" +checksum=2d2f9ced77bc6f90cb9fbdbf790eed97f3be28caefb0de496ac28813aed606be + +do_build() { + sed -i 's/man\/man1/share\/man\/man1/g' Makefile + make ${makejobs} +} + +do_install() { + make PREFIX=/usr DESTDIR=${DESTDIR} install + vinstall LICENSE 644 usr/share/licenses/${pkgname} +} + +mcwm_package() { + pkg_install() { + vmove usr + } +}