diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 31 |
1 files changed, 12 insertions, 19 deletions
@@ -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 } |