summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Teibes2014-07-07 19:49:33 +0200
committerCarsten Teibes2014-07-07 19:49:33 +0200
commit393280a5d8dad93d54d6a442a5c2f20921fdc425 (patch)
treee16e683fb2408c22a7053caaa16f9aa0ac494262
parent6b042ea0ffdc7e523ad3ca8f810b7c5edcb696c6 (diff)
downloadaur-393280a5d8dad93d54d6a442a5c2f20921fdc425.tar.gz
[upd] Cleanup, remove obsolete patches
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD31
2 files changed, 15 insertions, 22 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ebd356552d1..19d42dcc23f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,18 +1,18 @@
pkgbase = easyrpg-editor-qt-git
pkgdesc = EasyRPG's Game Editor (QT, development version)
- pkgver = r298.98a486d
+ pkgver = r308.5b413b5
pkgrel = 1
url = https://easy-rpg.org/
install = easyrpg-editor-qt-git.install
arch = i686
arch = x86_64
- license = unknown
+ license = GPL3
makedepends = git
depends = liblcf-git
depends = qt5-multimedia
provides = easyrpg-editor-qt
conflicts = easyrpg-editor-qt
- source = easyrpg-editor-qt::git+https://github.com/EasyRPG/editor-qt.git
+ source = easyrpg-editor-qt::git+https://github.com/EasyRPG/Editor-QT.git
md5sums = SKIP
pkgname = easyrpg-editor-qt-git
diff --git a/PKGBUILD b/PKGBUILD
index ae08b52a17e..a1675e2f2bb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,45 +1,38 @@
-# Maintainer: carstene1ns <url/mail: arch carsten-teibes de>
+# Maintainer: carstene1ns <arch carsten-teibes de> - http://git.io/ctPKG
pkgname=easyrpg-editor-qt-git
-pkgver=r298.98a486d
+pkgver=r308.5b413b5
pkgrel=1
pkgdesc="EasyRPG's Game Editor (QT, development version)"
arch=('i686' 'x86_64')
url="https://easy-rpg.org/"
-license=('unknown')
-conflicts=('easyrpg-editor-qt')
-provides=('easyrpg-editor-qt')
+license=('GPL3')
+conflicts=("${pkgname%-*}")
+provides=("${pkgname%-*}")
makedepends=('git')
depends=('liblcf-git' 'qt5-multimedia')
install="$pkgname.install"
-source=(easyrpg-editor-qt::"git+https://github.com/EasyRPG/editor-qt.git")
+source=(${pkgname%-*}::"git+https://github.com/EasyRPG/Editor-QT.git")
md5sums=('SKIP')
pkgver() {
- cd easyrpg-editor-qt
+ cd ${pkgname%-*}
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
-prepare() {
- cd easyrpg-editor-qt
- # set include folder for liblcf and reorder libraries
- sed -e 's|$$PWD/libs/liblcf/src|/usr/include/liblcf|;/liblcf\/generated/d' \
- -e 's|-lexpat -llcf|-llcf -lexpat|' -i EasyRPG-Editor.pro
-}
-
build () {
- cd easyrpg-editor-qt
+ cd ${pkgname%-*}
qmake-qt5
make
}
package () {
- cd easyrpg-editor-qt/bin
+ cd ${pkgname%-*}/bin
# binary
- install -Dm755 EasyRPG-Editor "$pkgdir"/usr/bin/easyrpg-editor-qt
+ install -Dm755 EasyRPG-Editor "$pkgdir"/usr/bin/${pkgname%-*}
# templates
- install -d "$pkgdir"/usr/share/easyrpg-editor-qt/templates
- install -m644 templates/* "$pkgdir"/usr/share/easyrpg-editor-qt/templates
+ install -d "$pkgdir"/usr/share/${pkgname%-*}/templates
+ install -m644 templates/* "$pkgdir"/usr/share/${pkgname%-*}/templates
}