mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-07 17:52:10 +01:00
40 lines
1020 B
Plaintext
40 lines
1020 B
Plaintext
# 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"
|