diff options
Diffstat (limited to 'multimedia/haruna/haruna.SlackBuild')
-rw-r--r-- | multimedia/haruna/haruna.SlackBuild | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/multimedia/haruna/haruna.SlackBuild b/multimedia/haruna/haruna.SlackBuild index 09a853e7d7..5a4d4612da 100644 --- a/multimedia/haruna/haruna.SlackBuild +++ b/multimedia/haruna/haruna.SlackBuild @@ -23,7 +23,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haruna -VERSION=${VERSION:-0.8.0} +VERSION=${VERSION:-0.9.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -36,6 +36,9 @@ if [ -z "$ARCH" ]; then esac fi +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -59,7 +62,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG @@ -79,8 +82,8 @@ cd build cmake \ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_BUILD_TYPE=Release .. - make + -DCMAKE_BUILD_TYPE=Release .. + make make install DESTDIR=$PKG cd .. @@ -92,6 +95,7 @@ cp -a \ LICENSES/* \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +rm -rf $PKG/usr/share/doc mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc |