void-packages/srcpkgs/geany/template

36 lines
1.0 KiB
Bash

# Template file for 'geany'
pkgname=geany
version=2.0
revision=1
build_style=gnu-configure
configure_args="--enable-vte --enable-gtk3"
hostmakedepends="pkg-config libtool gettext"
makedepends="gtk+3-devel"
depends="hicolor-icon-theme desktop-file-utils"
checkdepends="xvfb-run python3"
short_desc="Fast and lightweight IDE"
maintainer="Benjamín Albiñana <benalb@gmail.com>"
license="GPL-2.0-or-later"
homepage="https://www.geany.org"
changelog="https://raw.githubusercontent.com/geany/geany/master/NEWS"
distfiles="https://download.geany.org/geany-${version}.tar.bz2"
checksum=565b4cd2f0311c1e3a167ec71c4a32dba642e0fe554ae5bb6b8177b7a74ccc92
make_check_pre="xvfb-run"
python_version=3
pre_check() {
# Void sets HOME to /tmp by default
# Use $PWD to avoid /tmp evaluating to ~
export HOME="$PWD"
}
geany-devel_package() {
depends="libglib-devel gtk+3-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - Development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}