summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorCarsten Teibes2017-07-07 21:09:15 +0200
committerCarsten Teibes2017-07-07 21:09:15 +0200
commit9806526728ff9f849e715d9b3b5cbe02304174a4 (patch)
treef00e33aaf4279fdb948491c2a2ae8e900f066a45 /PKGBUILD
parent2bf0613465c548c202dc571e003a47a304c36593 (diff)
downloadaur-easyrpg-tools-git.tar.gz
[upd] split out xyz-thumbnailer
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD41
1 files changed, 27 insertions, 14 deletions
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
+}