pinentry-dmenu: update to 0.2.1.

This commit is contained in:
maxice8 2019-01-24 18:50:17 -02:00 committed by maxice8
parent c2ce45eb71
commit 0617300be8

View file

@ -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 <thinkabit.ukim@gmail.com>"
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
}