summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorRyan P.C. McQuen <ryan.q@linux.com>2015-05-05 07:39:08 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-05-10 07:05:04 +0700
commit640b4cbcb101ac23f587d3fab251a59b52d2dfe0 (patch)
treec8429b45bee00115e07fa8c672b13a0776b31780 /libraries
parent5f55622a5674bd62b5e4c584b39d3676e7a749d5 (diff)
downloadslackbuilds-640b4cbcb101ac23f587d3fab251a59b52d2dfe0.tar.gz
libraries/libdesktop-agnostic: Updated for version 20150505.
Signed-off-by: Ryan P.C. McQuen <ryan.q@linux.com>
Diffstat (limited to 'libraries')
-rw-r--r--libraries/libdesktop-agnostic/libdesktop-agnostic.SlackBuild17
-rw-r--r--libraries/libdesktop-agnostic/libdesktop-agnostic.info6
2 files changed, 14 insertions, 9 deletions
diff --git a/libraries/libdesktop-agnostic/libdesktop-agnostic.SlackBuild b/libraries/libdesktop-agnostic/libdesktop-agnostic.SlackBuild
index d56230ef4d..00ad1a29f2 100644
--- a/libraries/libdesktop-agnostic/libdesktop-agnostic.SlackBuild
+++ b/libraries/libdesktop-agnostic/libdesktop-agnostic.SlackBuild
@@ -27,7 +27,8 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libdesktop-agnostic
-VERSION=${VERSION:-0.3.94}
+VERSION=${VERSION:-20150505}
+SRCVERSION=${SRCVERSION:-83a5ab15dc8889a280a83ae2609d1e0d80676bab}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -63,15 +64,19 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/v$VERSION.tar.?z* || tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
-cd $PRGNAM-$VERSION
+rm -rf $PRGNAM-$SRCVERSION
+if [ -e $CWD/$SRCVERSION.tar.gz ]; then
+ tar xvf $CWD/$SRCVERSION.tar.gz
+else
+ tar xvf $CWD/$PRGNAM-$SRCVERSION.tar.gz
+fi
+cd $PRGNAM-$SRCVERSION
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 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
diff --git a/libraries/libdesktop-agnostic/libdesktop-agnostic.info b/libraries/libdesktop-agnostic/libdesktop-agnostic.info
index 152c45ed9b..b5ebb91f7c 100644
--- a/libraries/libdesktop-agnostic/libdesktop-agnostic.info
+++ b/libraries/libdesktop-agnostic/libdesktop-agnostic.info
@@ -1,8 +1,8 @@
PRGNAM="libdesktop-agnostic"
-VERSION="0.3.94"
+VERSION="20150505"
HOMEPAGE="https://github.com/p12tic/libdesktop-agnostic"
-DOWNLOAD="https://github.com/p12tic/libdesktop-agnostic/archive/v0.3.94.tar.gz"
-MD5SUM="86df79f457fea3f9a55d0d653ab89317"
+DOWNLOAD="https://github.com/p12tic/libdesktop-agnostic/archive/83a5ab15dc8889a280a83ae2609d1e0d80676bab.tar.gz"
+MD5SUM="cf1ba2be0d45fa4cdfb429344361be12"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="vala"