desktop/obmenu-generator: Updated for version 0.64.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Edinaldo P. Silva 2015-06-04 19:26:53 +07:00 committed by Willy Sudiarto Raharjo
parent 3235860008
commit d36b3cd61d
2 changed files with 14 additions and 15 deletions

View file

@ -1,7 +1,7 @@
#!/bin/sh #!/bin/sh
#
# Slackware build script for obmenu-generator. # Slackware build script for obmenu-generator.
# Home page: https://github.com/trizen/obmenu-generator. #
# Copyright 2015 Edinaldo P. Silva, Rio de Janeiro, Brazil. # Copyright 2015 Edinaldo P. Silva, Rio de Janeiro, Brazil.
# All rights reserved. # All rights reserved.
# #
@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=obmenu-generator PRGNAM=obmenu-generator
VERSION=${VERSION:-0.63} VERSION=${VERSION:-0.64}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
@ -54,8 +54,6 @@ else
LIBDIRSUFFIX="" LIBDIRSUFFIX=""
fi fi
DOCS="LICENSE README.md"
set -e set -e
rm -rf $PKG rm -rf $PKG
@ -74,13 +72,14 @@ find -L . \
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ 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 | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/bin DOCS="LICENSE README.md"
chmod a+x obmenu-generator
cp obmenu-generator $PKG/usr/bin install -d $PKG/etc/xdg/$PRGNAM
mkdir -p $PKG/etc/xdg/$PRGNAM install -D -m644 schema.pl $PKG/etc/xdg/$PRGNAM
cp schema.pl $PKG/etc/xdg/$PRGNAM install -d $PKG/usr/bin
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION install -D -m755 obmenu-generator $PKG/usr/bin/obmenu-generator
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION install -d $PKG/usr/doc/$PRGNAM-$VERSION
install -D -m644 $DOCS $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
mkdir -p $PKG/install mkdir -p $PKG/install

View file

@ -1,8 +1,8 @@
PRGNAM="obmenu-generator" PRGNAM="obmenu-generator"
VERSION="0.63" VERSION="0.64"
HOMEPAGE="https://github.com/trizen/obmenu-generator/" HOMEPAGE="https://github.com/trizen/obmenu-generator/"
DOWNLOAD="https://github.com/trizen/obmenu-generator/archive/0.63.tar.gz" DOWNLOAD="https://github.com/trizen/obmenu-generator/archive/0.64.tar.gz"
MD5SUM="ebe3f3f2f7d64d1ddf50fab39fff3a09" MD5SUM="fcf20b917e10e51d8021b387b0236abb"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="perl-data-dump perl-linux-desktop-files" REQUIRES="perl-data-dump perl-linux-desktop-files"