void-packages/srcpkgs/yad/template
Benjamin Slade d7ee7d678f yad: update to 8.0
- patch: add `#include <locale.h>` for `browser.c`
(otherwise compile error on musl)
2021-02-24 00:42:44 -03:00

26 lines
890 B
Bash

# Template file for 'yad'
pkgname=yad
version=8.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 - 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=5c9538b7f242de715249e9f7d30108c0706d23219b5b1bb85cfead6ae77abff3
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
}