void-packages/srcpkgs/yad/template
2019-09-30 16:47:01 +02:00

25 lines
750 B
Bash

# Template file for 'yad'
pkgname=yad
version=4.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"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="https://github.com/v1cont/yad"
distfiles="https://github.com/v1cont/yad/archive/${version}.tar.gz"
checksum=668987b2452ab5c82b14e993c680fcf2abed8fdd37bda3d54580860a9a09aabf
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
}