wok-next annotate assaultcube-data/receipt @ rev 20948

Provide the technique to build Python packages for both Python2 and Python3
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Aug 31 17:13:06 2018 +0300 (2018-08-31)
parents f4c22f009037
children
rev   line source
slaxemulator@6588 1 # SliTaz package receipt.
slaxemulator@6588 2
slaxemulator@6588 3 PACKAGE="assaultcube-data"
slaxemulator@7316 4 VERSION="1.1.0.4"
slaxemulator@6588 5 CATEGORY="games"
slaxemulator@6588 6 SHORT_DESC="data files for assaultcube"
slaxemulator@6588 7 MAINTAINER="slaxemulator@gmail.com"
pascal@15201 8 LICENSE="zlib/libpng"
al@20906 9 WEB_SITE="https://assault.cubers.net/"
slaxemulator@6588 10 SOURCE="AssaultCube"
slaxemulator@6588 11 TARBALL="${SOURCE}_v${VERSION}.tar.bz2"
slaxemulator@8591 12 SOURCE="AssaultCube-Data"
slaxemulator@6588 13 WGET_URL="$SF_MIRROR/actiongame/$TARBALL"
slaxemulator@6588 14
slaxemulator@6588 15 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@6588 16 genpkg_rules()
slaxemulator@6588 17 {
slaxemulator@6588 18 mkdir -p $fs/usr/share/assaultcube
slaxemulator@6588 19 cp -a $src/config $fs/usr/share/assaultcube
slaxemulator@6588 20 cp -a $src/packages $fs/usr/share/assaultcube
slaxemulator@6588 21 cp -a $src/docs $fs/usr/share/assaultcube
slaxemulator@6588 22 cp -a $src/mods $fs/usr/share/assaultcube
al@14789 23 chown -R root:root $fs
al@14789 24 find $fs -type f -exec chmod a-x \{\} \;
slaxemulator@6588 25 }
slaxemulator@6588 26