mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-04 20:06:43 +02:00
testing/xonotic-data: new aport
This commit is contained in:
parent
438e9609e2
commit
f1dd1a2cf2
37
testing/xonotic-data/APKBUILD
Normal file
37
testing/xonotic-data/APKBUILD
Normal file
@ -0,0 +1,37 @@
|
||||
# Contributor: William Pitcock <nenolod@dereferenced.org>
|
||||
# Maintainer: William Pitcock <nenolod@dereferenced.org>
|
||||
pkgname=xonotic-data
|
||||
pkgver=0.5.0
|
||||
pkgrel=0
|
||||
pkgdesc="data files for Xonotic"
|
||||
url="http://www.xonotic.org/"
|
||||
arch="noarch"
|
||||
license="GPL"
|
||||
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="cdadb384ccf9cad926bb377312832c2f xonotic-0.5.0.zip"
|
||||
Loading…
x
Reference in New Issue
Block a user