summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
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"