summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Teibes2015-08-11 15:57:19 +0200
committerCarsten Teibes2015-08-11 16:02:11 +0200
commit66d90f22da3b04d4975a9b65660e8ad04120a055 (patch)
treeb16a0b43a914e709cfb38131acc837a9f150b4b5
parent377eede7be4c22905e08d4e9cd6f0b437d9201ef (diff)
downloadaur-66d90f22da3b04d4975a9b65660e8ad04120a055.tar.gz
[ren] lcf2xml-git→easyrpg-tools-git
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD35
2 files changed, 31 insertions, 19 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 61a1ad9af22..fd0d84fa1f4 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,18 +1,23 @@
-pkgbase = lcf2xml-git
- pkgdesc = EasyRPG's converter tool (RPG Maker 2000/2003 projects<>XML, development version)
- pkgver = r25.762d235
+pkgbase = easyrpg-tools-git
+ pkgdesc = EasyRPG tools to convert RPG Maker 2000/2003 files (development version)
+ pkgver = r39.e185825
pkgrel = 1
url = https://easy-rpg.org/
arch = i686
arch = x86_64
license = MIT
+ license = GPL
+ license = custom
makedepends = git
depends = gcc-libs
depends = liblcf-git
+ depends = sdl2_image
provides = lcf2xml
+ provides = lmu2png
+ provides = xyz2png
conflicts = lcf2xml
- source = lcf2xml::git+https://github.com/EasyRPG/lcf2xml.git
+ source = easyrpg-tools-git::git+https://github.com/EasyRPG/tools.git
md5sums = SKIP
-pkgname = lcf2xml-git
+pkgname = easyrpg-tools-git
diff --git a/PKGBUILD b/PKGBUILD
index d7fc14280b5..f53b217948d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,35 +1,42 @@
# Maintainer: carstene1ns <arch carsten-teibes de> - http://git.io/ctPKG
-pkgname=lcf2xml-git
-pkgver=r25.762d235
+pkgname=easyrpg-tools-git
+pkgver=r39.e185825
pkgrel=1
-pkgdesc="EasyRPG's converter tool (RPG Maker 2000/2003 projects<>XML, development version)"
+pkgdesc="EasyRPG tools to convert RPG Maker 2000/2003 files (development version)"
arch=('i686' 'x86_64')
url="https://easy-rpg.org/"
-license=('MIT')
+license=('MIT' 'GPL' 'custom')
conflicts=('lcf2xml')
-provides=('lcf2xml')
+provides=('lcf2xml' 'lmu2png' 'xyz2png')
makedepends=('git')
-depends=('gcc-libs' 'liblcf-git')
-source=(lcf2xml::"git+https://github.com/EasyRPG/lcf2xml.git")
+depends=('gcc-libs' 'liblcf-git' 'sdl2_image')
+source=(${pkgname#-*}::"git+https://github.com/EasyRPG/tools.git")
md5sums=('SKIP')
pkgver() {
- cd lcf2xml
+ cd ${pkgname#-*}
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build () {
- cd lcf2xml
+ cd ${pkgname#-*}
+ make -C lmu2png
+ make -C xyz2png
# compile with our flags
- g++ $CXXFLAGS src/main.cpp $(pkg-config --cflags --libs liblcf) $LDFLAGS -o lcf2xml
+ g++ $CXXFLAGS lcf2xml/src/main.cpp $(pkg-config --cflags --libs liblcf) $LDFLAGS -o lcf2xml/lcf2xml
}
package () {
- cd lcf2xml
+ cd ${pkgname#-*}
- install -Dm755 lcf2xml "$pkgdir"/usr/bin/lcf2xml
- # license
- install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
+ # executables
+ install -Dm755 lmu2png/lmu2png "$pkgdir"/usr/bin/lmu2png
+ install -Dm755 xyz2png/xyz2png "$pkgdir"/usr/bin/xyz2png
+ install -Dm755 lcf2xml/lcf2xml "$pkgdir"/usr/bin/lcf2xml
+ # licenses
+ install -Dm644 lmu2png/COPYING "$pkgdir"/usr/share/licenses/$pkgname/lmu2png-COPYING
+ install -Dm644 xyz2png/COPYING "$pkgdir"/usr/share/licenses/$pkgname/xyz2png-COPYING
+ install -Dm644 lcf2xml/COPYING "$pkgdir"/usr/share/licenses/$pkgname/lcf2xml-COPYING
}