summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 180d27e4828a341a0e38965f9cc777df702dd705 (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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# Maintainer: Gustavo Alvarez Lopez <sl1pkn07@gmail.com>

pkgname=np2kai-git
pkgver=rev.17.0.gcfaf677
pkgrel=1
pkgdesc="Neko Project II Kai, a PC-9801 emulator. (GIT version)"
arch=('x86_64')
url='http://domisan.sakura.ne.jp/article/np2kai/np2kai.html'
license=('MIT')
depends=('gtk2'
         'sdl2_mixer'
         'libxxf86vm'
         'libsm'
         )
makedepends=('nasm')
conflicts=('xnp2')
provides=('xnp2')
source=("np2kai::git+https://github.com/AZO234/NP2kai.git")
sha256sums=('SKIP')

pkgver() {
  cd np2kai
  echo "$(git describe --long --tags | tr - .)"
}

prepare() {
  mkdir -p build

  cd np2kai/x11
  ./autogen.sh

  cd "${srcdir}/build"
  ../np2kai/x11/configure \
    --prefix=/usr \
    --enable-build-all \
    --enable-ia32 \

}

build() {
  make -C build
}

package() {
  make -C build DESTDIR="${pkgdir}/" install

  install -Dm644 np2kai/LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}