libraries/alure: Remove empty /usr/share from package.
Signed-off-by: B. Watson <yalhcru@gmail.com>
This commit is contained in:
parent
5142959baa
commit
ff6442f84b
|
@ -22,6 +22,9 @@
|
||||||
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# 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:
|
# 20220217 bkw: Modified by SlackBuilds.org, BUILD=3:
|
||||||
# - fix build on 15.0.
|
# - fix build on 15.0.
|
||||||
# - install docs to correct directory.
|
# - install docs to correct directory.
|
||||||
|
@ -30,7 +33,7 @@ cd $(dirname $0) ; CWD=$(pwd)
|
||||||
|
|
||||||
PRGNAM=alure
|
PRGNAM=alure
|
||||||
VERSION=${VERSION:-1.2}
|
VERSION=${VERSION:-1.2}
|
||||||
BUILD=${BUILD:-3}
|
BUILD=${BUILD:-4}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
PKGTYPE=${PKGTYPE:-tgz}
|
PKGTYPE=${PKGTYPE:-tgz}
|
||||||
|
|
||||||
|
@ -101,6 +104,7 @@ cd ..
|
||||||
|
|
||||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
mv $PKG/usr/share/doc/$PRGNAM/* $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
|
cp -a COPYING $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue