diff options
Diffstat (limited to 'games/lutris/lutris.SlackBuild')
-rw-r--r-- | games/lutris/lutris.SlackBuild | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/games/lutris/lutris.SlackBuild b/games/lutris/lutris.SlackBuild index 682956c9cf..aef4f12281 100644 --- a/games/lutris/lutris.SlackBuild +++ b/games/lutris/lutris.SlackBuild @@ -24,7 +24,7 @@ # <https://www.gnu.org/licenses/>. PRGNAM=lutris -VERSION=${VERSION:-0.4.8} +VERSION=${VERSION:-0.4.10} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -41,6 +41,8 @@ TMP=${TMP:-/tmp/SBo} PKG=${PKG:-$TMP/package-$PRGNAM} OUTPUT=${OUTPUT:-/tmp} +DOCS="AUTHORS CHANGELOG LICENSE INSTALL.rst README.rst" + set -e rm -rf $PKG @@ -49,7 +51,6 @@ cd $TMP rm -rf $PRGNAM tar xvf $CWD/$PRGNAM\_$VERSION.tar.xz cd $PRGNAM - chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -63,9 +64,8 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS CHANGELOG LICENSE INSTALL.rst README.rst $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -find $PKG/usr/doc -type f -exec chmod 0644 {} \; mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc |