summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Teibes2014-03-21 17:06:51 +0100
committerCarsten Teibes2014-03-21 17:06:51 +0100
commitedf269edb16db5ca3f603f1f451f4f693d56f85c (patch)
tree303240477cc5d9287746ff1d52ebfc2c6adc51b3
downloadaur-edf269edb16db5ca3f603f1f451f4f693d56f85c.tar.gz
[add] lcf2xml-git
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD37
2 files changed, 56 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..8dee5c0ee6b
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = lcf2xml-git
+ pkgdesc = EasyRPG's converter tool (RPG Maker 2000/2003 projects<>XML, development version)
+ pkgver = r21.b436603
+ pkgrel = 1
+ url = https://easy-rpg.org/
+ arch = i686
+ arch = x86_64
+ license = MIT
+ makedepends = git
+ makedepends = liblcf-git
+ depends = expat
+ depends = gcc-libs
+ provides = lcf2xml
+ conflicts = lcf2xml
+ source = lcf2xml::git+https://github.com/EasyRPG/lcf2xml.git
+ md5sums = SKIP
+
+pkgname = lcf2xml-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..380dcc56b28
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,37 @@
+# Maintainer: carstene1ns <url/mail: arch carsten-teibes de>
+
+pkgname=lcf2xml-git
+pkgver=r21.b436603
+pkgrel=1
+pkgdesc="EasyRPG's converter tool (RPG Maker 2000/2003 projects<>XML, development version)"
+arch=('i686' 'x86_64')
+url="https://easy-rpg.org/"
+license=('MIT')
+conflicts=('lcf2xml')
+provides=('lcf2xml')
+makedepends=('git' 'liblcf-git')
+depends=('expat' 'gcc-libs')
+source=(lcf2xml::"git+https://github.com/EasyRPG/lcf2xml.git")
+md5sums=('SKIP')
+
+pkgver() {
+ cd lcf2xml
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+build () {
+ cd lcf2xml
+
+ # compile with our flags
+ g++ $CXXFLAGS src/main.cpp -I/usr/include/liblcf $LDFLAGS \
+ -L/usr/lib -llcf -lexpat -o lcf2xml
+}
+
+package () {
+ cd lcf2xml
+
+ # executable
+ install -Dm755 lcf2xml "$pkgdir"/usr/bin/lcf2xml
+ # license
+ install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
+}