34 lines
968 B
Bash
34 lines
968 B
Bash
# Template file for 'subtle'
|
|
pkgname=subtle
|
|
version=0.11.6579
|
|
revision=3
|
|
wrksrc="${pkgname}-${version#*.*.}"
|
|
hostmakedepends="python3 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 <abc@pompel.me>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://hg.unexist.dev/subtle/"
|
|
distfiles="https://hg.unexist.dev/subtle/archive/${version#*.*.}.tar.gz"
|
|
checksum=58b4bf85ae348f120a77001042f036570c239cd3327802b012506ea0158d8d86
|
|
conf_files="/etc/xdg/subtle/subtle.rb"
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
if [ "$XBPS_WORDSIZE" != "$XBPS_TARGET_WORDSIZE" ]; then
|
|
broken="Word size must match"
|
|
fi
|
|
hostmakedepends+=" $makedepends"
|
|
CFLAGS+=" -I${XBPS_CROSS_BASE}/usr/include/ruby-3.1.0/"
|
|
export CFLAGS
|
|
fi
|
|
|
|
do_configure() {
|
|
DESTDIR=$PKGDESTDIR rake config
|
|
}
|
|
do_build() {
|
|
rake build
|
|
}
|
|
do_install() {
|
|
rake install
|
|
}
|