development/sqlitebrowser: updated for version 3.3.1

This commit is contained in:
Ryan P.C. McQuen 2014-09-10 07:54:46 -07:00 committed by Willy Sudiarto Raharjo
parent 41b874cd78
commit 3f487d90ae
2 changed files with 8 additions and 9 deletions

View file

@ -25,8 +25,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=sqlitebrowser PRGNAM=sqlitebrowser
SRCNAM=sqlb VERSION=${VERSION:-3.3.1}
VERSION=${VERSION:-3.2.0}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
@ -48,9 +47,9 @@ set -eu
rm -rf $PKG rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT mkdir -p $TMP $PKG $OUTPUT
cd $TMP cd $TMP
rm -rf $PRGNAM-$SRCNAM-$VERSION rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$SRCNAM-$VERSION.tar.gz || tar xvf $CWD/$PRGNAM-$SRCNAM-$VERSION.tar.gz tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/v$VERSION.tar.gz
cd $PRGNAM-$SRCNAM-$VERSION cd $PRGNAM-$VERSION
chown -R root:root . chown -R root:root .
find -L . \ find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@ -63,7 +62,7 @@ make LINK="g++ -ldl"
mkdir -p $PKG/usr/bin mkdir -p $PKG/usr/bin
cp src/$PRGNAM $PKG/usr/bin/ cp src/$PRGNAM $PKG/usr/bin/
find $PKG | xargs 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/doc/$PRGNAM-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION

View file

@ -1,8 +1,8 @@
PRGNAM="sqlitebrowser" PRGNAM="sqlitebrowser"
VERSION="3.2.0" VERSION="3.3.1"
HOMEPAGE="http://sqlitebrowser.org/" HOMEPAGE="http://sqlitebrowser.org/"
DOWNLOAD="https://github.com/sqlitebrowser/sqlitebrowser/archive/sqlb-3.2.0.tar.gz" DOWNLOAD="https://github.com/sqlitebrowser/sqlitebrowser/archive/v3.3.1.tar.gz"
MD5SUM="8e0edc6b14230e3933aa68a4731d9bd3" MD5SUM="ccd5feac77606e614e79273d3e568205"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="" REQUIRES=""