From 0617300be8c6b046d4882524ccbba9ff3b5cf154 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Thu, 24 Jan 2019 18:50:17 -0200 Subject: [PATCH] pinentry-dmenu: update to 0.2.1. --- srcpkgs/pinentry-dmenu/template | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/srcpkgs/pinentry-dmenu/template b/srcpkgs/pinentry-dmenu/template index 47e63dd7af1..b76ea769f37 100644 --- a/srcpkgs/pinentry-dmenu/template +++ b/srcpkgs/pinentry-dmenu/template @@ -1,6 +1,6 @@ # Template file for 'pinentry-dmenu' pkgname=pinentry-dmenu -version=0.2 +version=0.2.1 revision=1 build_style=gnu-makefile makedepends="libXft-devel freetype-devel libconfig-devel @@ -11,7 +11,7 @@ maintainer="maxice8 " license="GPL-2.0-or-later" homepage="https://github.com/ritze/pinentry-dmenu" distfiles="https://github.com/ritze/pinentry-dmenu/archive/${version}.tar.gz" -checksum=0f38f2bbcfaf3bfff4d11ee0fa1b5a8f50f87e8775cc6c7d757d566a02e33ff4 +checksum=cfcc8d52c89b2c50de18a1755e0191f34b690a4f2a62d43bcb0cde3853d3edc5 CFLAGS="-DXINERAMA -I${XBPS_CROSS_BASE}/usr/include" CFLAGS+=" -I${XBPS_CROSS_BASE}/usr/include/X11" @@ -26,5 +26,7 @@ pre_build() { -e "s|PACKAGE_BUGREPORT|\"https:\/\/github.com\/ritze\/pinentry-dmenu\"|g" \ -i pinentry/pinentry.c - vsed -e "s|CC =.*|CC = ${CC}|g" -i config.mk + if [ "$CROSS_BUILD" ]; then + vsed -e "s|CC =.*|CC = ${CC}|g" -i config.mk + fi }