libraries/alure: Remove empty /usr/share from package.

Signed-off-by: B. Watson <yalhcru@gmail.com>
This commit is contained in:
B. Watson 2022-04-02 14:26:46 -04:00
parent 5142959baa
commit ff6442f84b
1 changed files with 5 additions and 1 deletions

View File

@ -22,6 +22,9 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# 20220402 bkw: Modified by SlackBuilds.org, BUILD=4:
# - get rid of empty /usr/share/doc.
# 20220217 bkw: Modified by SlackBuilds.org, BUILD=3:
# - fix build on 15.0.
# - install docs to correct directory.
@ -30,7 +33,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=alure
VERSION=${VERSION:-1.2}
BUILD=${BUILD:-3}
BUILD=${BUILD:-4}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -101,6 +104,7 @@ cd ..
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
mv $PKG/usr/share/doc/$PRGNAM/* $PKG/usr/doc/$PRGNAM-$VERSION
rm -rf $PKG/usr/share # 20220402 bkw: nothing but doc/ here
cp -a COPYING $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild