diff options
author | B. Watson <yalhcru@gmail.com> | 2022-04-17 02:53:02 -0400 |
---|---|---|
committer | B. Watson <yalhcru@gmail.com> | 2022-04-17 02:53:02 -0400 |
commit | e30158d6f2c06bb47b012c2f3a01b6147060c22e (patch) | |
tree | c56028b65f9090f47bee1db0de1ca92133276e02 /libraries/VitaMTP | |
parent | c2a5da06dc9624552f1d5b7aa639cf264d4c65e3 (diff) | |
download | slackbuilds-e30158d6f2c06bb47b012c2f3a01b6147060c22e.tar.gz |
libraries/VitaMTP: Fix docs.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'libraries/VitaMTP')
-rw-r--r-- | libraries/VitaMTP/VitaMTP.SlackBuild | 22 | ||||
-rw-r--r-- | libraries/VitaMTP/VitaMTP.info | 2 |
2 files changed, 11 insertions, 13 deletions
diff --git a/libraries/VitaMTP/VitaMTP.SlackBuild b/libraries/VitaMTP/VitaMTP.SlackBuild index cc8acb4936..78e1ca6860 100644 --- a/libraries/VitaMTP/VitaMTP.SlackBuild +++ b/libraries/VitaMTP/VitaMTP.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. +# 20220417 bkw: Modified by SlackBuilds.org, BUILD=3: +# - fix broken symlink in doc dir. +# - remove useless INSTALL from docs. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=VitaMTP VERSION=${VERSION:-2.5.9} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -40,9 +44,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -77,9 +78,9 @@ cd $SRCNAM-$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 \ + -o -perm 511 \) -exec chmod 755 {} \+ -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ ./autogen.sh @@ -97,17 +98,14 @@ CXXFLAGS="$SLKCFLAGS" \ --build=$ARCH-slackware-linux make -make install DESTDIR=$PKG +make install-strip DESTDIR=$PKG install -Dm644 debian/libvitamtp*.udev "$PKG/lib/udev/rules.d/80-psvita.rules" -find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a ChangeLog COPYING INSTALL README.md $PKG/usr/doc/$PRGNAM-$VERSION +cp -a debian/changelog COPYING README.md $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -mv $PKG/usr/share/doc/vitamtp-2.5.9/html/ $PKG/usr/doc/$PRGNAM-$VERSION +mv $PKG/usr/share/doc/$SRCNAM-$VERSION/html/ $PKG/usr/doc/$PRGNAM-$VERSION rm -rf $PKG/usr/share/ rm -f $PKG/usr/lib*/*.la diff --git a/libraries/VitaMTP/VitaMTP.info b/libraries/VitaMTP/VitaMTP.info index 048ea22e17..d8b2128ef1 100644 --- a/libraries/VitaMTP/VitaMTP.info +++ b/libraries/VitaMTP/VitaMTP.info @@ -1,7 +1,7 @@ PRGNAM="VitaMTP" VERSION="2.5.9" HOMEPAGE="https://github.com/codestation/vitamtp" -DOWNLOAD="https://github.com/codestation/vitamtp/archive/v2.5.9.tar.gz" +DOWNLOAD="https://github.com/codestation/vitamtp/archive/v2.5.9/vitamtp-2.5.9.tar.gz" MD5SUM="fc5c2297edfab5a5ba8e7ad7b7cded81" DOWNLOAD_x86_64="" MD5SUM_x86_64="" |