diff options
author | Alan Aversa <aveNOrsa@email.ariSPAMzona.edu (remove NO and SPAM)> | 2016-12-06 00:55:06 +0000 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2016-12-10 00:57:38 +0000 |
commit | 1bccf6243d343cc962d293ac7a03f9a665320fba (patch) | |
tree | 3803bfe8e8c7c98265c1a93de374f53d3c6ea816 /misc | |
parent | eebb05c750397f75df353ac7ec300693bc13d0c1 (diff) | |
download | slackbuilds-1bccf6243d343cc962d293ac7a03f9a665320fba.tar.gz |
misc/gramps: Updated for version 4.2.4 + new maintainer.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'misc')
-rw-r--r-- | misc/gramps/gramps.SlackBuild | 32 | ||||
-rw-r--r-- | misc/gramps/gramps.info | 14 |
2 files changed, 17 insertions, 29 deletions
diff --git a/misc/gramps/gramps.SlackBuild b/misc/gramps/gramps.SlackBuild index bfcc9301b8..49bfe2c150 100644 --- a/misc/gramps/gramps.SlackBuild +++ b/misc/gramps/gramps.SlackBuild @@ -23,13 +23,13 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=gramps -VERSION=${VERSION:-3.4.3} +VERSION=${VERSION:-4.2.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -40,8 +40,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -64,29 +64,17 @@ 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 {} \; + \( -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 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --mandir=/usr/man \ - --docdir=/usr/doc/$PRGNAM-$VERSION \ - --enable-packager-mode \ - --build=$ARCH-slackware-linux - -make -make install DESTDIR=$PKG +python3 setup.py install --root $PKG 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 +mv $PKG/usr/share/man $PKG/usr/man find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done diff --git a/misc/gramps/gramps.info b/misc/gramps/gramps.info index 42edb89e32..466c6e348c 100644 --- a/misc/gramps/gramps.info +++ b/misc/gramps/gramps.info @@ -1,10 +1,10 @@ PRGNAM="gramps" -VERSION="3.4.3" -HOMEPAGE="http://www.gramps-project.org/" -DOWNLOAD="http://downloads.sourceforge.net/gramps/gramps-3.4.3.tar.gz" -MD5SUM="7cf6bc3c153e3811255493fca34164ee" +VERSION="4.2.4" +HOMEPAGE="https://www.gramps-project.org/" +DOWNLOAD="https://github.com/gramps-project/gramps/archive/v4.2.4/gramps-4.2.4.tar.gz" +MD5SUM="99372551f58e8e97d45bc77f5157fdf4" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="gnome-python" -MAINTAINER="orphaned - no maintainer" -EMAIL="nobody@nowhere" +REQUIRES="python3 py3cairo pygobject3-python3" +MAINTAINER="Alan Aversa" +EMAIL="aveNOrsa@email.ariSPAMzona.edu (remove NO and SPAM)" |