void-packages/srcpkgs/pan/template

27 lines
1.0 KiB
Bash

# Template file for 'pan'
pkgname=pan
version=0.154
revision=2
build_style=gnu-configure
configure_args="--with-gnutls --enable-libnotify --enable-gkr"
hostmakedepends="gettext pkg-config yelp-tools autoconf gettext-devel-tools automake libtool"
makedepends="gmime3-devel gnutls-devel gtk+3-devel libsecret-devel gtkspell3-devel libnotify-devel
glib-devel enchant2-devel gcr-devel"
depends="desktop-file-utils hicolor-icon-theme"
short_desc="Usenet newsreader that's good at both text and binaries"
maintainer="mobinmob <mobinmob@disroot.org>"
license="GFDL-1.1-or-later, GPL-2.0-only"
homepage="http://pan.rebelbase.com"
changelog="https://gitlab.gnome.org/GNOME/pan/-/raw/master/NEWS"
distfiles="https://gitlab.gnome.org/GNOME/pan/-/archive/v${version}/pan-v${version}.tar.bz2"
checksum=440317954df7217689100df3dfb68865770f5aed1b8ed2b45432d771bb80a8c9
if [ -n "$CROSS_BUILD" ]; then
hostmakedepends+=" gdk-pixbuf-devel"
fi
pre_configure() {
export ACLOCAL='aclocal -I ${XBPS_CROSS_BASE}/usr/share/aclocal'
NOCONFIGURE=1 ./autogen.sh
}