summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 320e8ce8b13ba911a7ff6d99f5660a59001ddabd (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
# Maintainer: Arch-Jason <arch-jason@outlook.com>
pkgname=zff
pkgver=5.5.9
pkgrel=1
pkgdesc="A simple game"
arch=(any)
url="https://github.com/ohzff/Zff"
license=('MIT')
depends=('git' 'wget' 'gcc' 'bash')
makedepends=('gcc' 'git')
source=("git+$url")
md5sums=("SKIP")

build() {
    cd Zff
    g++ zff_main_en.cpp -o zff
}

package() {
    cd Zff
    mkdir -p "$pkgdir/usr/bin/"
    mkdir -p "$pkgdir/usr/share/ohzff-zff"
    install -m775 zff "$pkgdir/usr/bin/zff"
    cd ../
    cp -r Zff/* "$pkgdir/usr/share/ohzff-zff"
}