diff options
author | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2015-05-12 06:14:30 -0300 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2015-05-12 06:14:30 -0300 |
commit | e806fdd6fdcab100f7685dadd2b4dca04675b3d0 (patch) | |
tree | 30c3cd4c3705cf774a084c3bcae4fd12f7555c12 /pcr/nexuiz-data/PKGBUILD | |
parent | 345b8c4070212e489cfc754155bc8dfea4db17b3 (diff) | |
download | abslibre-e806fdd6fdcab100f7685dadd2b4dca04675b3d0.tar.gz abslibre-e806fdd6fdcab100f7685dadd2b4dca04675b3d0.tar.bz2 abslibre-e806fdd6fdcab100f7685dadd2b4dca04675b3d0.zip |
moved blender-addon-ogre,cambozola,collada-dom,mednafen-server,mitsuba,nexuiz,nexuiz-data,noip,openssh-knock,renpy,supermodel,systemd-knock,tupi,xcftools,yafaray,zoneminder to [pcr] repo
Diffstat (limited to 'pcr/nexuiz-data/PKGBUILD')
-rw-r--r-- | pcr/nexuiz-data/PKGBUILD | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/pcr/nexuiz-data/PKGBUILD b/pcr/nexuiz-data/PKGBUILD new file mode 100644 index 000000000..c6ab172b7 --- /dev/null +++ b/pcr/nexuiz-data/PKGBUILD @@ -0,0 +1,42 @@ +# Maintainer (Arch): Sven-Hendrik Haase <sh@lutzhaase.com> +# Contributor (Arch): Xyne +# Contributor (Arch): Rick Chen (stuffcorpse) +# Contributor (Arch): Jaroslaw Swierczynski <swiergot@aur.archlinux.org> +# Contributor (Arch): Roman Kyrylych <Roman.Kyrylych@gmail.com> +# Contributor (Arch): Camille Moncelier <pix@devlife.org> + +pkgname=nexuiz-data +_pkgsourcename=nexuiz +pkgver=2.5.2 +_zipver=252 +pkgrel=3.1 +arch=('any') +pkgdesc="Nexuiz game data" +conflicts=('nexuiz<2.5.1-3') +url="http://www.alientrap.org/games/nexuiz" +license=("GPL") +source=(http://downloads.sourceforge.net/${_pkgsourcename}/${_pkgsourcename}-${_zipver}.zip) +md5sums=('d750bc328e58df8492f8d88bdcf818cb') + +package() { + _nexdir="$pkgdir/opt/nexuiz" + + _install_dir $srcdir/Nexuiz/Docs $_nexdir/docs + _install_dir $srcdir/Nexuiz/data $_nexdir/data + _install_dir $srcdir/Nexuiz/havoc $_nexdir/havoc + _install_dir $srcdir/Nexuiz/server $_nexdir/server + + find $_nexdir/server -name "*_windows.bat" -exec rm {} \; + find $_nexdir/server -name "*_mac.sh" -exec rm {} \; +} + +function _install_dir { + _src_dir=$1 + _dest_dir=$2 + _n=${#_src_dir} + for _file in $(find $_src_dir -type f) + do + _dest_file=${_dest_dir}${_file:$_n} + install -Dm644 $_file $_dest_file + done +} |