summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2b3bfe65cdc0f59fa531582b81d1a0d6b2dc7a73 (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
# This is an example PKGBUILD file. Use this as a start to creating your own,
# and remove these comments. For more information, see 'man PKGBUILD'.
# NOTE: Please fill out the license field for your package! If it is unknown,
# then please put 'unknown'.

# Maintainer: zzy-ac <1304024859@qq.com>
pkgname=plantsvszombies
pkgver=1.1
pkgrel=2
pkgdesc="plantsvszombies by deepin-wine5"
arch=(x86_64)
url="https://github.com/zzy-ac/plantsvszombies"
license=('GPL')
depends=('deepin-wine5' 'deepin-wine-helper')
provides=(plantsvszombies=$pkgver)
replaces=()
backup=()
options=()
install=
changelog=
source=("https://hub.fastgit.org/zzy-ac/plantsvszombies/raw/master/plantsvszombies.tar.gz")
noextract=()
md5sums=("SKIP")
validpgpkeys=()

prepare() {
	mkdir "$pkgname-$pkgver"
	cp -r opt "$pkgname-$pkgver"/opt
	cp -r usr "$pkgname-$pkgver"/usr
}

#check() {
#	cd "$pkgname-$pkgver"
#	make -k check
#}

package() {
	cd "$pkgname-$pkgver"
    cp -r opt ${pkgdir}
    cp -r usr ${pkgdir}
}