From 8a0862a484293f93d2f3753c677e9fbcd38000bc Mon Sep 17 00:00:00 2001 From: Ypnose Date: Thu, 30 May 2013 12:52:29 +0200 Subject: [PATCH] New package: evilwm 1.1.0 --- srcpkgs/evilwm/files/LICENSE | 40 +++++++++++++++++++++++++++++ srcpkgs/evilwm/files/evilwm.desktop | 11 ++++++++ srcpkgs/evilwm/template | 27 +++++++++++++++++++ 3 files changed, 78 insertions(+) create mode 100644 srcpkgs/evilwm/files/LICENSE create mode 100644 srcpkgs/evilwm/files/evilwm.desktop create mode 100644 srcpkgs/evilwm/template diff --git a/srcpkgs/evilwm/files/LICENSE b/srcpkgs/evilwm/files/LICENSE new file mode 100644 index 00000000000..6778ede8c73 --- /dev/null +++ b/srcpkgs/evilwm/files/LICENSE @@ -0,0 +1,40 @@ +LICENCE + +evilwm 1.1 +Copyright (C) 1999-2011 Ciaran Anscomb + +This is free software. You can do what you want to it, but if it +breaks something, you get to pay for the counselling. The code was +originally based on aewm, so this is distributed under the same terms, +which follow. + + +AEWM LICENCE + +Copyright (c) 1998-2000 Decklin Foster. + +THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS", WITHOUT ANY EXPRESS +OR IMPLIED WARRANTIES OF ANY KIND. IN NO EVENT SHALL THE AUTHOR BE +HELD LIABLE FOR ANY DAMAGES CONNECTED WITH THE USE OF THIS PROGRAM. + +You are granted permission to copy, publish, distribute, and/or sell +copies of this program and any modified versions or derived works, +provided that this copyright and notice are not removed or altered. + +Portions of the code were based on 9wm, which contains this license: + +> 9wm is free software, and is Copyright (c) 1994 by David Hogan. +> Permission is granted to all sentient beings to use this software, +> to make copies of it, and to distribute those copies, provided +> that: +> +> (1) the copyright and licence notices are left intact +> (2) the recipients are aware that it is free software +> (3) any unapproved changes in functionality are either +> (i) only distributed as patches +> or (ii) distributed as a new program which is not called 9wm +> and whose documentation gives credit where it is due +> (4) the author is not held responsible for any defects +> or shortcomings in the software, or damages caused by it. +> +> There is no warranty for this software. Have a nice day. diff --git a/srcpkgs/evilwm/files/evilwm.desktop b/srcpkgs/evilwm/files/evilwm.desktop new file mode 100644 index 00000000000..0cd24843721 --- /dev/null +++ b/srcpkgs/evilwm/files/evilwm.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Type=Application +Encoding=UTF-8 +Name=evilwm +Comment=EvilWM +Exec=evilwm +NoDisplay=true +X-GNOME-WMName=evilwm +# evilwm doesn't talk XSMP yet, so don't start in the WindowManager phase: +X-GNOME-Autostart-Phase=Applications +X-GNOME-Provides=windowmanager diff --git a/srcpkgs/evilwm/template b/srcpkgs/evilwm/template new file mode 100644 index 00000000000..b57f7a50146 --- /dev/null +++ b/srcpkgs/evilwm/template @@ -0,0 +1,27 @@ +# Template file for 'evilwm' +pkgname=evilwm +version=1.1.0 +revision=1 +short_desc="A minimalist window manager for the X Window System" +maintainer="Ypnose +homepage="http://evilwm.sourceforge.net" +license="Public Domain" +distfiles="http://www.6809.org.uk/$pkgname/$pkgname-$version.tar.gz" +checksum=cdc763c875b64ee3734f3cb764249e91ec659f550177ec1bb564304260ef0c75 +makedepends="libXrandr-devel" + +do_build() { + make +} + +do_install() { + make PREFIX=/usr DESTDIR=$DESTDIR install + vinstall ${FILESDIR}/evilwm.desktop 644 usr/share/xsessions + vinstall ${FILESDIR}/LICENSE 644 usr/share/licenses/$pkgname +} + +evilwm_package() { + pkg_install() { + vmove usr + } +}