diff options
-rw-r--r-- | system/gpa/README | 6 | ||||
-rw-r--r-- | system/gpa/doinst.sh | 9 | ||||
-rw-r--r-- | system/gpa/gpa.SlackBuild | 54 | ||||
-rw-r--r-- | system/gpa/gpa.info | 8 | ||||
-rw-r--r-- | system/gpa/slack-desc | 10 |
5 files changed, 87 insertions, 0 deletions
diff --git a/system/gpa/README b/system/gpa/README new file mode 100644 index 0000000000..1782290107 --- /dev/null +++ b/system/gpa/README @@ -0,0 +1,6 @@ +The GNU Privacy Assistant (GPA) is a graphical user interface for GnuPG +(GNU Privacy Guard). GPA utilizes GTK+ (GIMP Tool Kit), connects to +GnuPG via GPGME and compiles for various platforms. + +Required dep: GPGME, available at slackbuilds.org + diff --git a/system/gpa/doinst.sh b/system/gpa/doinst.sh new file mode 100644 index 0000000000..a72ea3a01c --- /dev/null +++ b/system/gpa/doinst.sh @@ -0,0 +1,9 @@ + +if [ -x usr/bin/update-desktop-database ]; then + usr/bin/update-desktop-database &> /dev/null +fi + +if [ -x usr/bin/gtk-update-icon-cache ]; then + gtk-update-icon-cache -f -t usr/share/icons/hicolor &> /dev/null +fi + diff --git a/system/gpa/gpa.SlackBuild b/system/gpa/gpa.SlackBuild new file mode 100644 index 0000000000..c515a710f2 --- /dev/null +++ b/system/gpa/gpa.SlackBuild @@ -0,0 +1,54 @@ +#!/bin/sh + +# Slackware build script for GPA +# Written by Erik Hanson erik@slackbuilds.org +# Modified by the SlackBuilds.org project + +PRGNAM=gpa +VERSION=0.7.4 +ARCH=${ARCH:-i486} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +CWD=`pwd` +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" +fi + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP || exit 1 +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 || exit 1 +cd $PRGNAM-$VERSION || exit 1 +chown -R root:root . +chmod -R u+w,go+r-w,a-s . + +CFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + || exit 1 + +make || exit 1 +make install-strip DESTDIR=$PKG || exit 1 + +sed -i 's|Icon=gpa.png|Icon=/usr/share/pixmaps/gpa.png|' \ + $PKG/usr/share/applications/gpa.desktop || exit 1 + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL NEWS README README-alpha THANKS TODO VERSION $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz diff --git a/system/gpa/gpa.info b/system/gpa/gpa.info new file mode 100644 index 0000000000..7cf7623605 --- /dev/null +++ b/system/gpa/gpa.info @@ -0,0 +1,8 @@ +PRGNAM="gpa" +VERSION="0.7.4" +HOMEPAGE="http://wald.intevation.org/projects/gpa/" +DOWNLOAD="http://wald.intevation.org/frs/download.php/241/gpa-0.7.4.tar.bz2" +MD5SUM="566089422e642e1c22e4d0a1da50e710" +MAINTAINER="Erik Hanson" +EMAIL="erik@slackbuilds.org" +APPROVED="elohim,robw810" diff --git a/system/gpa/slack-desc b/system/gpa/slack-desc new file mode 100644 index 0000000000..48e1fc56db --- /dev/null +++ b/system/gpa/slack-desc @@ -0,0 +1,10 @@ +gpa: GPA - Gnu Privacy Assistant +gpa: +gpa: The GNU Privacy Assistant (GPA) is a graphical user interface for GnuPG +gpa: (GNU Privacy Guard). GPA utilizes GTK+ (GIMP Tool Kit), connects to +gpa: GnuPG via GPGME and compiles for various platforms. +gpa: +gpa: http://wald.intevation.org/projects/gpa/ +gpa: +gpa: +gpa: |