summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9c28ca51ea398c25a2a2539497ed32ce713943a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Maintainer: carstene1ns <arch carsten-teibes de> - http://git.io/ctPKG

pkgname=easyrpg-rtp
pkgver=25.f15e1dd
pkgrel=1
pkgdesc="RPG Maker 2000/2003 material replacement "
arch=('any')
url="https://easy-rpg.org/"
license=('GPL3')
makedepends=('git' 'advancecomp')
depends=('easyrpg-player')
source=(${pkgname}::"git+https://github.com/EasyRPG/RTP.git")
md5sums=('SKIP')

pkgver() {
  cd ${pkgname}
  echo "$(git rev-list --count HEAD).$(git describe --always)"
}

build() {
      cd ${pkgname}
      make optimize
}

package () {
  mkdir -p "${pkgdir}/usr/share/easyrpg"
  cp -r ${srcdir}/${pkgname} "${pkgdir}/usr/share/easyrpg/rtp"
  rm -r "${pkgdir}/usr/share/easyrpg/rtp/.git"
}