summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6e9aad57498e1fdb20ec129a8378df47eefa409f (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
30
31
32
# Maintainer: Chris Rizzitello <sithlord48@gmail.com>
pkgname=makoureactor-git
conflicts=('makoureactor')
pkgver=1.7.0.r19.gf095e5e
pkgrel=1
pkgdesc="Final Fantasy 7 Field Editor"
arch=('i686' 'x86_64')
url="https://github.com/myst6re/makoureactor"
license=('GPL3')
depends=('qt5-base' 'freeglut' 'zlib') #Qt5)
#optdepends=('otf-ipafont: font for displaying japanese')
source=("git://github.com/myst6re/makoureactor.git#branch=develop")
md5sums=(SKIP)

pkgver() {
  cd "makoureactor"
  git describe --long --tags --always | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
  

build() {
  cd "makoureactor"
  #qmake-qt4 Makou_Reactor.pro #Qt4 Build
  qmake-qt5 Makou_Reactor.pro #Qt5 Build
  make
}
package(){
  cd "makoureactor"
  INSTALL_ROOT=$pkgdir make install
  install -D -m644 debian/menu "$pkgdir"/usr/share/menu/makoureactor
#  install -m666 vars.cfg "$pkgdir"/usr/share/makoureactor/
}