From c3ab45e3921ce828493f7a998a4a2fb783de9523 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mikl=C3=B3s=20Kov=C3=A1cs?= <22072709+mortyr45@users.noreply.github.com> Date: Sun, 11 Aug 2024 08:33:31 +0900 Subject: [PATCH] liblcf v0.8-2 (#129) --- packages/liblcf/PKGBUILD | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/packages/liblcf/PKGBUILD b/packages/liblcf/PKGBUILD index d160246..2fc3b16 100644 --- a/packages/liblcf/PKGBUILD +++ b/packages/liblcf/PKGBUILD @@ -2,7 +2,7 @@ pkgname=liblcf pkgver=0.8 -pkgrel=1 +pkgrel=2 pkgdesc="Library to handle RPG Maker 2000/2003 and EasyRPG projects" arch=('i686' 'x86_64') url="https://easyrpg.org" @@ -12,7 +12,14 @@ depends=('gcc-libs' 'expat' 'icu') source=("https://easyrpg.org/downloads/player/$pkgver/liblcf-$pkgver.tar.xz") sha256sums=('6b0d8c7fefe3d66865336406f69ddf03fe59e52b5601687265a4d1e47a25c386') -build () { +prepare() { + cd liblcf-$pkgver + + # ICU needs c++17 nowadays + sed -i 's/-std=gnu++14/-std=gnu++17/g' Makefile{.am,.in} +} + +build() { cd liblcf-$pkgver ./configure --prefix=/usr \