|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
#!/bin/bash |
|
|
|
|
# Build script for Slackware |
|
|
|
|
# Copyright (C) 2012,2013,2014 Damien Goutte-Gattat |
|
|
|
|
# Copyright (C) 2012,2013,2014,2015 Damien Goutte-Gattat |
|
|
|
|
# |
|
|
|
|
# Redistribution and use of this script, with or without modifications, |
|
|
|
|
# is permitted provided that the following conditions are met: |
|
|
|
@ -22,19 +22,19 @@
|
|
|
|
|
# |
|
|
|
|
# Contact: Damien Goutte-Gattat <dgouttegattat@incenp.org> |
|
|
|
|
# |
|
|
|
|
# Latest mirall sourcecode is available at: |
|
|
|
|
# Latest owncloud-client sourcecode is available at: |
|
|
|
|
# <http://owncloud.org/sync-clients/#sources>. |
|
|
|
|
# |
|
|
|
|
# Depends: l/qtkeychain |
|
|
|
|
|
|
|
|
|
# Source package infos |
|
|
|
|
NAMESRC=${NAMESRC:-mirall} |
|
|
|
|
VERSION=${VERSION:-1.7.1} |
|
|
|
|
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.bz2} |
|
|
|
|
NAMESRC=${NAMESRC:-owncloudclient} |
|
|
|
|
VERSION=${VERSION:-1.8.3} |
|
|
|
|
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.xz} |
|
|
|
|
WGET=${WGET:-http://download.owncloud.com/desktop/stable/$ARCHIVE} |
|
|
|
|
|
|
|
|
|
# Build infos |
|
|
|
|
NAMEPKG=${NAMEPKG:-mirall} |
|
|
|
|
NAMEPKG=${NAMEPKG:-owncloudclient} |
|
|
|
|
BUILD=${BUILD:-1GGD} |
|
|
|
|
ARCH=${ARCH:-$(uname -m | sed 's/^i.86$/i486/;s/^arm.*/arm/')} |
|
|
|
|
JOBS=${JOBS:-1} |