summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7810c6c982a8505a37ef8302a2146835fca44965 (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
conflicts=('hyne')
pkgver=1.9.2c.r2.g480170f
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/myst6re/hyne.git#branch=develop")
md5sums=(SKIP)

pkgver() {
  cd "hyne"
  git describe --long --tags | sed '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
}