void-packages/srcpkgs/tilix/template

27 lines
790 B
Bash

# Template file for 'tilix'
pkgname=tilix
version=1.8.7
revision=1
build_style=gnu-configure
hostmakedepends="automake gettext-devel gdk-pixbuf glib-devel ldc po4a pkg-config
librsvg"
makedepends="dconf-devel gtkd-devel libglib-devel libvted-devel libX11-devel"
depends="gsettings-desktop-schemas"
short_desc="Tiling terminal emulator for Linux"
maintainer="Rasmus Thomsen <rasmus.thomsen@protonmail.com>"
license="MPL-2.0"
homepage="https://gnunn1.github.io/tilix-web/"
distfiles="https://github.com/gnunn1/${pkgname}/archive/${version}.tar.gz"
checksum=ad09434a7f2b62b0016e31f8a298c7a26ecda159835cf80d0d2af3173e098d0e
pre_configure() {
case "$XBPS_TARGET_MACHINE" in
*musl)
patch -Np0 -i ${FILESDIR}/musl-hacks.patch
export DCFLAGS="-linker=bfd"
;;
esac
autoreconf -fi
}