summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 23652cfc6b79e4c67484c9485cf104e5772a0af1 (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
# Maintainer: Chris Rizzitello <sithlord48@gmail.com>
pkgname=hyne-git
confilicts=('hyne')
pkgver=1.9.0
pkgrel=1
pkgdesc="Final Fantasy 8 Save Editor"
arch=('i686' 'x86_64')
url=("http://github.com/myst6re/hyne")
license=('GPL3')
depends=('qt5-base' 'zlib') #Qt5)
#optdepends=('otf-ipafont: font for displaying japanese')
install=$pkgname.install
source=("git://github.com/sithlord48/hyne.git")
md5sums=(SKIP)

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

build() {
  cd "hyne"
  qmake-qt5 Hyne.pro #Qt5 Build
  make
}
package(){
  cd "hyne"
  INSTALL_ROOT=$pkgdir make install 
  install -D -m644 debian/menu "$pkgdir"/usr/share/menu/hyne
}