blob: 40ab2c1582f0163127684ce7ca772c5f27f0bbff (
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
|
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=xonotic-data
pkgver=0.7.0
pkgrel=0
pkgdesc="Data files for Xonotic"
url="http://www.xonotic.org/"
arch="noarch"
license="GPL2+"
depends=""
depends_dev=""
makedepends="$depends_dev"
install=""
subpackages=""
source="http://dl.xonotic.org/xonotic-${pkgver}.zip"
_builddir=${srcdir}/Xonotic
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
}
package() {
mkdir -p "$pkgdir"/usr/share/xonotic/
mv "$srcdir"/Xonotic/data "$pkgdir"/usr/share/xonotic/
}
md5sums="eda7e8acadbefaf4b2efcfb70bbe98e2 xonotic-0.7.0.zip"
sha256sums="21a5fb5493c269cd3843789cb8598f952d4196e8bc71804b9bd5808b646542c6 xonotic-0.7.0.zip"
sha512sums="bde7d23251b80b0071693f013c1620ead3f0ac42f266921c9b37b1a8e4cc24935c9c2a4d5ddee588ce68042ba0341b720417b186b907eaba9e4c731cc3a9697c xonotic-0.7.0.zip"
|