summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Teibes2014-04-14 01:18:20 +0200
committerCarsten Teibes2014-04-14 01:18:20 +0200
commit62172c7fa02484e8f90f304b5b9171ce9268797b (patch)
tree78c6dcead014bb612a6b09bc2fa6f52096d8eae1
parentedf269edb16db5ca3f603f1f451f4f693d56f85c (diff)
downloadaur-62172c7fa02484e8f90f304b5b9171ce9268797b.tar.gz
[upd] Use pkg-config
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD10
2 files changed, 6 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8dee5c0ee6b..518b744c688 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,15 @@
pkgbase = lcf2xml-git
pkgdesc = EasyRPG's converter tool (RPG Maker 2000/2003 projects<>XML, development version)
- pkgver = r21.b436603
+ pkgver = r23.0161554
pkgrel = 1
url = https://easy-rpg.org/
arch = i686
arch = x86_64
license = MIT
makedepends = git
- makedepends = liblcf-git
depends = expat
depends = gcc-libs
+ depends = liblcf-git
provides = lcf2xml
conflicts = lcf2xml
source = lcf2xml::git+https://github.com/EasyRPG/lcf2xml.git
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