diff options
author | William Pitcock <nenolod@dereferenced.org> | 2011-12-08 21:47:05 -0600 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2011-12-08 21:47:26 -0600 |
commit | f1dd1a2cf2485e85e05412aeeb2d1bb236f7ce77 (patch) | |
tree | 6a92facb046400597b1a27dc9205d0514d3eac88 /testing/xonotic-data | |
parent | 438e9609e25928bc0033ad9a29f628ee9b294af7 (diff) | |
download | aports-f1dd1a2cf2485e85e05412aeeb2d1bb236f7ce77.tar.bz2 aports-f1dd1a2cf2485e85e05412aeeb2d1bb236f7ce77.tar.xz |
testing/xonotic-data: new aport
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" |