summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6f0aafbb21c29557347bfbab2f487dbecc294aa0 (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
# Maintainer: Chris Rizzitello <sithlord48@gmail.com>
pkgname=makoureactor-git
conflicts=('makoureactor')
pkgver=2.0.0.10
pkgrel=1
pkgdesc="Final Fantasy 7 Field Editor"
arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64')
url="https://github.com/myst6re/makoureactor"
license=('GPL3')
depends=('qt6-base' 'zlib' 'libff7tk') #Qt5)
#optdepends=('otf-ipafont: font for displaying japanese')
source=("makoureactor::git+https://github.com/myst6re/makoureactor.git")
md5sums=(SKIP)

pkgver() {
  cd "makoureactor"
  git describe --tags --match '[0-9]*' | sed 's/-/./g;s/v//g'  | grep -o "^[0-9]*.[0-9]*.[0-9]*.[0-9]*"
}

build() {
  cmake -Smakoureactor -Bbuild -DCMAKE_INSTALL_PREFIX=/usr -DBUNDLE_FF7TK_QM=OFF
  cmake --build build
}

package(){
  DESTDIR="$pkgdir" cmake --install build
}