diff options
author | B. Watson <yalhcru@gmail.com> | 2022-04-14 13:33:50 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-04-16 12:11:28 +0700 |
commit | c532f015257c76349ff33508bd0de3af7706c711 (patch) | |
tree | 2652940d866798b9fa3d063b7d31a4ca7a3f24fb /libraries/libaal | |
parent | dc440402f746475064d1cf22b966fd6b66aced99 (diff) |
libraries/libaal: Fix docs.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/libaal')
-rw-r--r-- | libraries/libaal/libaal.SlackBuild | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/libraries/libaal/libaal.SlackBuild b/libraries/libaal/libaal.SlackBuild index 1c7f2936e68b2..67542eb110e16 100644 --- a/libraries/libaal/libaal.SlackBuild +++ b/libraries/libaal/libaal.SlackBuild @@ -2,11 +2,14 @@ # Slackware build script for libaal +# 20220414 bkw: Modified by SlackBuilds.org, BUILD=3: +# - get rid of empty/useless files in doc dir. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=libaal VERSION=${VERSION:-1.0.7} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -18,9 +21,6 @@ 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 @@ -71,13 +71,10 @@ CXXFLAGS="$SLKCFLAGS" \ --build=$ARCH-slackware-linux make -make install DESTDIR=$PKG - -find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true +make install-strip DESTDIR=$PKG mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS BUGS COPYING CREDITS ChangeLog INSTALL NEWS README THANKS TODO \ +cp -a AUTHORS BUGS COPYING CREDITS ChangeLog README THANKS TODO \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |