mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
graphics/flpsed: Fix URLs, include icons.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
17fb182ba7
commit
838867d356
4 changed files with 31 additions and 20 deletions
|
@ -1,6 +1,8 @@
|
|||
flpsed is a WYSIWYG PostScript annotator. You can't remove or modify
|
||||
existing elements of a document, but flpsed lets you add arbitrary
|
||||
text lines to existing PostScript documents. Added lines can later
|
||||
be reedited with flpsed. Using pdftops, which is part of xpdf, one
|
||||
can convert PDF documents to PostScript and also add text to them.
|
||||
flpsed is useful for filling in forms, adding notes, etcetera.
|
||||
flpsed (WYSIWYG PostScript annotator)
|
||||
|
||||
flpsed is a WYSIWYG PostScript annotator. You can't remove or modify
|
||||
existing elements of a document, but flpsed lets you add arbitrary
|
||||
text lines to existing PostScript documents. Added lines can later
|
||||
be reedited with flpsed. Using pdftops, which is part of xpdf, one
|
||||
can convert PDF documents to PostScript and also add text to them.
|
||||
flpsed is useful for filling in forms, adding notes, et cetera.
|
||||
|
|
|
@ -1,14 +1,19 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Slackware build script for flpsed
|
||||
# Originally written by Jack Maddox <jackmaddox@gmail.com>
|
||||
# Originally written by Jack Maddox <email removed>
|
||||
# Currently maintained by B. Watson <yalhcru@gmail.com>
|
||||
|
||||
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
|
||||
|
||||
# 20201102 bkw: BUILD=2
|
||||
# - Include icons in the package
|
||||
# - Get rid of INSTALL in doc dir
|
||||
# - Homepage went away, use Fedora download and archive.org homepage.
|
||||
|
||||
PRGNAM=flpsed
|
||||
VERSION=${VERSION:-0.7.3}
|
||||
BUILD=${BUILD:-1}
|
||||
BUILD=${BUILD:-2}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
|
@ -47,11 +52,8 @@ rm -rf $PRGNAM-$VERSION
|
|||
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
|
||||
cd $PRGNAM-$VERSION
|
||||
chown -R root:root .
|
||||
find -L . \
|
||||
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
|
||||
-exec chmod 755 {} \; -o \
|
||||
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
||||
-exec chmod 644 {} \;
|
||||
find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
|
||||
\! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
|
||||
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
|
@ -69,11 +71,18 @@ make install-strip DESTDIR=$PKG
|
|||
gzip -9 $PKG/usr/man/man1/$PRGNAM.1
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a README INSTALL COPYING AUTHORS NEWS $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a README COPYING AUTHORS NEWS $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
# upstream ships icons but doesn't 'make install' them.
|
||||
mkdir -p $PKG/usr/share/pixmaps $PKG/usr/share/icons/hicolor/scalable/apps/
|
||||
cat $PRGNAM.png > $PKG/usr/share/pixmaps/$PRGNAM.png
|
||||
gzip -9c < $PRGNAM.svg > $PKG/usr/share/icons/hicolor/scalable/apps/$PRGNAM.svgz
|
||||
|
||||
mkdir -p $PKG/usr/share/applications
|
||||
cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop
|
||||
sed "/^Icon=\$/s,\$,$PRGNAM," \
|
||||
$CWD/$PRGNAM.desktop > \
|
||||
$PKG/usr/share/applications/$PRGNAM.desktop
|
||||
|
||||
mkdir -p $PKG/install
|
||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
PRGNAM="flpsed"
|
||||
VERSION="0.7.3"
|
||||
HOMEPAGE="http://flpsed.org/flpsed.html"
|
||||
DOWNLOAD="http://flpsed.org/flpsed-0.7.3.tar.gz"
|
||||
HOMEPAGE="http://web.archive.org/web/20201018005250/https://flpsed.org/flpsed.html"
|
||||
DOWNLOAD="https://src.fedoraproject.org/repo/pkgs/flpsed/flpsed-0.7.3.tar.gz/3b7c2ffd349a41c2e484dad3fd3d73d0/flpsed-0.7.3.tar.gz"
|
||||
MD5SUM="3b7c2ffd349a41c2e484dad3fd3d73d0"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
|
|
|
@ -8,10 +8,10 @@
|
|||
|-----handy-ruler------------------------------------------------------|
|
||||
flpsed: flpsed (WYSIWYG PostScript annotator)
|
||||
flpsed:
|
||||
flpsed: flpsed is a WYSIWYG PostScript annotator. You can't remove or modify
|
||||
flpsed: flpsed is a WYSIWYG PostScript annotator. You can't remove or modify
|
||||
flpsed: existing elements of a document, but flpsed lets you add arbitrary
|
||||
flpsed: text lines to existing PostScript documents. Added lines can later
|
||||
flpsed: be reedited with flpsed. Using pdftops, which is part of xpdf, one
|
||||
flpsed: text lines to existing PostScript documents. Added lines can later
|
||||
flpsed: be reedited with flpsed. Using pdftops, which is part of xpdf, one
|
||||
flpsed: can convert PDF documents to PostScript and also add text to them.
|
||||
flpsed: flpsed is useful for filling in forms, adding notes, etcetera.
|
||||
flpsed:
|
||||
|
|
Loading…
Reference in a new issue