mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
desktop/sun: Updated for version 1.0.9.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
parent
fffd87aac5
commit
b61c3a3f7e
3 changed files with 17 additions and 5 deletions
|
@ -1,3 +1,15 @@
|
|||
config() {
|
||||
NEW="$1"
|
||||
OLD="$(dirname $NEW)/$(basename $NEW .new)"
|
||||
if [ ! -r $OLD ]; then
|
||||
mv $NEW $OLD
|
||||
elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
|
||||
rm $NEW
|
||||
fi
|
||||
}
|
||||
|
||||
config etc/sun/sun.conf.new
|
||||
|
||||
if [ -x /usr/bin/update-desktop-database ]; then
|
||||
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
|
||||
fi
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=sun
|
||||
VERSION=${VERSION:-1.0.8}
|
||||
VERSION=${VERSION:-1.0.9}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
|
@ -79,7 +79,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
|
|||
|
||||
# install configurations files
|
||||
mkdir -p $PKG/etc/$PRGNAM $PKG/etc/rc.d/
|
||||
install -D -m0644 conf/${PRGNAM}.conf $PKG/etc/$PRGNAM/${PRGNAM}.conf
|
||||
install -D -m0644 conf/${PRGNAM}.conf $PKG/etc/$PRGNAM/${PRGNAM}.conf.new
|
||||
install -D -m0644 conf/mirrors $PKG/etc/$PRGNAM/mirrors
|
||||
# install rc file
|
||||
install -D -m0644 conf/rc.${PRGNAM} $PKG/etc/rc.d/rc.${PRGNAM}
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="sun"
|
||||
VERSION="1.0.8"
|
||||
VERSION="1.0.9"
|
||||
HOMEPAGE="https://github.com/dslackw/sun"
|
||||
DOWNLOAD="https://github.com/dslackw/sun/archive/v1.0.8.tar.gz"
|
||||
MD5SUM="8178245f077f672273721fb779b3fbe8"
|
||||
DOWNLOAD="https://github.com/dslackw/sun/archive/v1.0.9.tar.gz"
|
||||
MD5SUM="02158cec051f9cb11afe55b32f76d2d0"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
|
|
Loading…
Reference in a new issue