void-packages/srcpkgs/yad/template

26 lines
841 B
Bash

# Template file for 'yad'
pkgname=yad
version=9.1
revision=1
build_style=gnu-configure
configure_args="--enable-icon-browser"
hostmakedepends="automake gettext-devel glib-devel intltool pkg-config"
makedepends="gtk+3-devel webkit2gtk-devel gtksourceview-devel gspell-devel"
short_desc="Yet Another Dialog - create/interact with GTK+ dialog boxes"
maintainer="Benjamin Slade <slade@lambda-y.net>"
license="GPL-3.0-or-later"
homepage="https://github.com/v1cont/yad"
changelog="https://raw.githubusercontent.com/v1cont/yad/master/NEWS"
distfiles="https://github.com/v1cont/yad/releases/download/v${version}/yad-${version}.tar.xz"
checksum=288142d338c055d3839083d8146c6f270bd5a17f78ff9cd2a3c41a8cf31a0e92
pre_configure() {
autoreconf -ivf
intltoolize
}
post_install() {
# Avoid conflict with disputils
mv "${DESTDIR}"/usr/bin/{,yad-}pfd
}