blob: 518139a8668abf474dfaabff6b1f5be59c823735 (
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
|
# Maintainer: Jiayi Wu <wjy@516wjy.xyz>
pkgname='zff-reload'
pkgver='6.0.17beta'
pkgrel=1
pkgdesc="New Zff, the lightest adventure game."
arch=('any')
url='https://github.com/ohzff/Zff-Reload'
license=('MIT')
groups=()
depends=()
makedepends=('gcc')
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=("$pkgname-$pkgver.tar.gz")
noextract=()
sha256sums=('SKIP')
# prepare(){
# if [ ! -d "$pkgname-$pkgver" ]
# then
# tar -xf "$pkgname-$pkgver.tar.gz"
# fi
# }
build(){
cd "Zff-Reload-$pkgver"
rm ./lib/system/data/DATA.hpp
cp ./lib/system/data/DATA_usr.hpp ./lib/system/data/DATA.hpp
g++ ./main.cpp -o zff -std=c++11 -pthread
}
package(){
cd "Zff-Reload-$pkgver"
mkdir -p "$pkgdir/usr/bin"
cp "./zff" "$pkgdir/usr/bin/zff"
mkdir -p "$pkgdir/usr/share/zff_reload"
cp -r "./usr" "$pkgdir/usr/share/zff_reload/"
cp "./LICENCE" "$pkgdir/usr/share/zff_reload/"
cp "./README.md" "$pkgdir/usr/share/zff_reload/"
}
|