summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD10
1 files changed, 4 insertions, 6 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 380dcc56b28..be98f9109ad 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: carstene1ns <url/mail: arch carsten-teibes de>
pkgname=lcf2xml-git
-pkgver=r21.b436603
+pkgver=r23.0161554
pkgrel=1
pkgdesc="EasyRPG's converter tool (RPG Maker 2000/2003 projects<>XML, development version)"
arch=('i686' 'x86_64')
@@ -9,8 +9,8 @@ url="https://easy-rpg.org/"
license=('MIT')
conflicts=('lcf2xml')
provides=('lcf2xml')
-makedepends=('git' 'liblcf-git')
-depends=('expat' 'gcc-libs')
+makedepends=('git')
+depends=('expat' 'gcc-libs' 'liblcf-git')
source=(lcf2xml::"git+https://github.com/EasyRPG/lcf2xml.git")
md5sums=('SKIP')
@@ -23,14 +23,12 @@ build () {
cd lcf2xml
# compile with our flags
- g++ $CXXFLAGS src/main.cpp -I/usr/include/liblcf $LDFLAGS \
- -L/usr/lib -llcf -lexpat -o lcf2xml
+ g++ $CXXFLAGS src/main.cpp $(pkg-config --cflags --libs liblcf) $LDFLAGS -o lcf2xml
}
package () {
cd lcf2xml
- # executable
install -Dm755 lcf2xml "$pkgdir"/usr/bin/lcf2xml
# license
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING