2015-05-19 23:05:53 +02:00
|
|
|
# Template file for 'subtle'
|
|
|
|
pkgname=subtle
|
2015-08-17 09:21:10 +02:00
|
|
|
version=0.11.3224
|
|
|
|
revision=1
|
2015-07-25 13:46:46 +02:00
|
|
|
build_pie=yes
|
2015-05-19 23:05:53 +02:00
|
|
|
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 <miwaxe@gmail.com>"
|
|
|
|
license="GPL-2"
|
|
|
|
homepage="http://subtle.subforge.org"
|
|
|
|
conf_files="/etc/xdg/subtle/subtle.rb"
|
|
|
|
|
|
|
|
do_fetch() {
|
|
|
|
local url="http://hg.subforge.org/${pkgname}"
|
2015-08-17 09:21:10 +02:00
|
|
|
msg_normal "Fetching source ${version%.*} from $url ...\n"
|
|
|
|
hg clone --rev ${version%.*} ${url} ${pkgname}-${version}
|
2015-05-19 23:05:53 +02:00
|
|
|
# Enable transplant plugin
|
|
|
|
printf "[extensions]\ntransplant=" > ~/.hgrc
|
|
|
|
cd ${pkgname}-${version}
|
|
|
|
# Add ruby>2.1 support
|
2015-07-25 13:46:46 +02:00
|
|
|
hg transplant -s ${url} 3240 3242 3243 3244
|
2015-05-19 23:05:53 +02:00
|
|
|
}
|
|
|
|
do_configure() {
|
|
|
|
DESTDIR=$PKGDESTDIR rake config
|
|
|
|
}
|
|
|
|
do_build() {
|
|
|
|
rake build
|
|
|
|
}
|
|
|
|
do_install() {
|
|
|
|
rake install
|
|
|
|
}
|