void-packages/srcpkgs/yad/template
2020-09-24 20:26:22 -04:00

25 lines
780 B
Bash

# Template file for 'yad'
pkgname=yad
version=7.2
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"
maintainer="Benjamin Slade <slade@lambda-y.net>"
license="GPL-3.0-or-later"
homepage="https://github.com/v1cont/yad"
distfiles="https://github.com/v1cont/yad/releases/download/v${version}/yad-${version}.tar.xz"
checksum=d60b7408066edb45381b8f13301eccc0808b8b0defe4f22e589078b1d5927308
pre_configure() {
autoreconf -ivf
intltoolize
}
post_install() {
# Avoid conflict with disputils
mv "${DESTDIR}"/usr/bin/{,yad-}pfd
mv "${DESTDIR}"/usr/share/man/man1/{,yad-}pfd.1
}