graphics/pdf2png: Fix github URL, cleanup.

Signed-off-by: B. Watson <urchlay@slackware.uk>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2024-03-30 15:26:58 -04:00 committed by Willy Sudiarto Raharjo
parent e00fb9e56f
commit bd45109d7f
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
2 changed files with 9 additions and 2 deletions

View File

@ -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

View File

@ -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=""