summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO27
-rw-r--r--PKGBUILD41
2 files changed, 48 insertions, 20 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6309b3247af..ceb0a7c64dd 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,25 +1,40 @@
pkgbase = easyrpg-tools-git
- pkgdesc = EasyRPG tools to convert RPG Maker 2000/2003 files (development version)
- pkgver = r70.4676147
+ pkgdesc = EasyRPG tools for RPG Maker 2000/2003 files (development version)
+ pkgver = r77.28ce4d9
pkgrel = 1
- url = https://easy-rpg.org/
+ url = https://easyrpg.org/tools/
arch = i686
arch = x86_64
license = MIT
license = GPL3
license = custom
makedepends = git
+ makedepends = gcc-libs
+ makedepends = liblcf-git
+ makedepends = sdl2_image
+ makedepends = libpng
+ makedepends = zlib
+ source = easyrpg-tools::git+https://github.com/EasyRPG/Tools.git
+ md5sums = SKIP
+
+pkgname = easyrpg-tools-git
depends = gcc-libs
depends = liblcf-git
depends = sdl2_image
depends = libpng
+ depends = zlib
provides = lcf2xml
provides = lmu2png
provides = png2xyz
provides = xyz2png
+ provides = xyzcrush
conflicts = lcf2xml
- source = easyrpg-tools-git::git+https://github.com/EasyRPG/tools.git
- md5sums = SKIP
-pkgname = easyrpg-tools-git
+pkgname = xyz-thumbnailer-git
+ pkgdesc = Thumbnailer for XYZ images (development version)
+ arch = any
+ license = MIT
+ depends = xyz2png
+ depends = shared-mime-info
+ depends = sh
diff --git a/PKGBUILD b/PKGBUILD
index 1fbb8855e02..39662a18bbc 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,34 +1,36 @@
# Maintainer: carstene1ns <arch carsten-teibes de> - http://git.io/ctPKG
-pkgname=easyrpg-tools-git
-pkgver=r70.4676147
+pkgbase=easyrpg-tools-git
+pkgname=(easyrpg-tools-git xyz-thumbnailer-git)
+pkgver=r77.28ce4d9
pkgrel=1
-pkgdesc="EasyRPG tools to convert RPG Maker 2000/2003 files (development version)"
+pkgdesc="EasyRPG tools for RPG Maker 2000/2003 files (development version)"
arch=('i686' 'x86_64')
-url="https://easy-rpg.org/"
+url="https://easyrpg.org/tools/"
license=('MIT' 'GPL3' 'custom')
-conflicts=('lcf2xml')
-provides=('lcf2xml' 'lmu2png' 'png2xyz' 'xyz2png')
-makedepends=('git')
-depends=('gcc-libs' 'liblcf-git' 'sdl2_image' 'libpng')
-source=(${pkgname#-*}::"git+https://github.com/EasyRPG/tools.git")
+makedepends=('git' 'gcc-libs' 'liblcf-git' 'sdl2_image' 'libpng' 'zlib')
+source=(${pkgname%-*}::"git+https://github.com/EasyRPG/Tools.git")
md5sums=('SKIP')
pkgver() {
- cd ${pkgname#-*}
+ cd ${pkgname%-*}
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
-build () {
- cd ${pkgname#-*}
+build() {
+ cd ${pkgname%-*}
./bootstrap
./configure --prefix=/usr
make
}
-package () {
- cd ${pkgname#-*}
+package_easyrpg-tools-git() {
+ depends=('gcc-libs' 'liblcf-git' 'sdl2_image' 'libpng' 'zlib')
+ conflicts=('lcf2xml')
+ provides=('lcf2xml' 'lmu2png' 'png2xyz' 'xyz2png' 'xyzcrush')
+
+ cd ${pkgname%-*}
make DESTDIR="$pkgdir" install
@@ -36,3 +38,14 @@ package () {
install -Dm0644 lmu2png/COPYING "$pkgdir"/usr/share/licenses/$pkgname/lmu2png-COPYING
install -Dm0644 lcf2xml/COPYING "$pkgdir"/usr/share/licenses/$pkgname/lcf2xml-COPYING
}
+
+package_xyz-thumbnailer-git() {
+ pkgdesc="Thumbnailer for XYZ images (development version)"
+ depends=('xyz2png' 'shared-mime-info' 'sh')
+ arch=('any')
+ license=('MIT')
+
+ cd easyrpg-tools/xyz-thumbnailer/linux
+
+ make PREFIX=/usr DESTDIR="$pkgdir" install
+}