From bd45109d7fb46bdbed0a58efec7bf2468db5f84b Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Sat, 30 Mar 2024 15:26:58 -0400 Subject: [PATCH] graphics/pdf2png: Fix github URL, cleanup. Signed-off-by: B. Watson Signed-off-by: Willy Sudiarto Raharjo --- graphics/pdf2png/pdf2png.SlackBuild | 9 ++++++++- graphics/pdf2png/pdf2png.info | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/graphics/pdf2png/pdf2png.SlackBuild b/graphics/pdf2png/pdf2png.SlackBuild index 57350904c4..841b38359f 100644 --- a/graphics/pdf2png/pdf2png.SlackBuild +++ b/graphics/pdf2png/pdf2png.SlackBuild @@ -22,11 +22,15 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20240330 bkw: Modified by SlackBuilds.org, BUILD=2: +# - remove /usr/share/doc (forbidden dir) and /usr/share/pdf2png-0.5.3/makefile +# (not useful). + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=pdf2png VERSION=${VERSION:-0.5.3} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -64,6 +68,9 @@ cp -a \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +# 20240330 bkw: Cleanup on aisle 6! +rm -rf $PKG/usr/share/doc $PKG/usr/share/$PRGNAM-$VERSION + mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh diff --git a/graphics/pdf2png/pdf2png.info b/graphics/pdf2png/pdf2png.info index c7cce23d4f..f25fd2b02d 100644 --- a/graphics/pdf2png/pdf2png.info +++ b/graphics/pdf2png/pdf2png.info @@ -1,7 +1,7 @@ PRGNAM="pdf2png" VERSION="0.5.3" HOMEPAGE="https://github.com/abchk1234/pdf2png" -DOWNLOAD="https://github.com/abchk1234/pdf2png/archive/0.5.3.tar.gz" +DOWNLOAD="https://github.com/abchk1234/pdf2png/archive/0.5.3/pdf2png-0.5.3.tar.gz" MD5SUM="473eb4da10a52eafe265831ff0f06ce7" DOWNLOAD_x86_64="" MD5SUM_x86_64=""