gtk: fix pkg-config version

This commit is contained in:
Rasmus Thomsen 2019-01-04 15:56:22 +01:00 committed by maxice8
parent 44eb4a543a
commit 125ceaa0c0
No known key found for this signature in database
GPG Key ID: 543B9D4F4299F06B
1 changed files with 6 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'gtkd'
pkgname=gtkd
version=3.8.4
revision=2
revision=3
wrksrc="GtkD-${version}"
build_style=gnu-makefile
# The compiler used is ldc2 and our LDFLAGS make it fail to compile
@ -24,6 +24,11 @@ homepage="https://gtkd.org"
distfiles="https://github.com/gtkd-developers/GtkD/archive/v${version}.tar.gz"
checksum=5eddf26a999a0783a1518fe897925f8aff27005c7c72e84700668459f2d415c0
pre_configure() {
#upstream has forgotten to update the version number...
sed 's/3.8.3/3.8.4/' -i GNUmakefile
}
do_check() {
make DC=ldc2 LDFLAGS='' test
}