void-packages/srcpkgs/yad/template
2019-10-31 22:55:35 +01:00

25 lines
776 B
Bash

# Template file for 'yad'
pkgname=yad
version=5.0
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/releases/download/v${version}/yad-${version}.tar.xz"
checksum=6d7008f72c2b9b1fb71cdae4399f3e6af617bb1b2aeb1376af23e1a7a21997b7
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
}