diff options
Diffstat (limited to 'testing/xonotic-data')
-rw-r--r-- | testing/xonotic-data/APKBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/testing/xonotic-data/APKBUILD b/testing/xonotic-data/APKBUILD new file mode 100644 index 0000000000..c02400e09a --- /dev/null +++ b/testing/xonotic-data/APKBUILD @@ -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" |