From 6d45cd10fa45e164d984f39008780c5ac1664325 Mon Sep 17 00:00:00 2001 From: Andrea Brancaleoni Date: Tue, 19 May 2015 23:05:53 +0200 Subject: [PATCH] New package: subtle-0.11 --- srcpkgs/subtle/template | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 srcpkgs/subtle/template diff --git a/srcpkgs/subtle/template b/srcpkgs/subtle/template new file mode 100644 index 00000000000..9f10defdce4 --- /dev/null +++ b/srcpkgs/subtle/template @@ -0,0 +1,34 @@ +# Template file for 'subtle' +pkgname=subtle +version=0.11 +revision=1 +nocross=yes +hostmakedepends="mercurial ruby-devel pkg-config" +makedepends="ruby-devel libX11-devel libXpm-devel +libXft-devel libXinerama-devel libXrandr-devel +libXtst-devel" +short_desc="Manual tiling window manager" +maintainer="Andrea Brancaleoni " +license="GPL-2" +homepage="http://subtle.subforge.org" +conf_files="/etc/xdg/subtle/subtle.rb" + +do_fetch() { + local url="http://hg.subforge.org/${pkgname}" + msg_normal "Fetching source from $url ...\n" + hg clone --rev ${version} ${url} ${pkgname}-${version} + # Enable transplant plugin + printf "[extensions]\ntransplant=" > ~/.hgrc + cd ${pkgname}-${version} + # Add ruby>2.1 support + hg transplant -s ${url} 3240 3242 3244 +} +do_configure() { + DESTDIR=$PKGDESTDIR rake config +} +do_build() { + rake build +} +do_install() { + rake install +}