Commits

Anonymous committed 9e4f578

Update mate-notification-daemon to 1.6.1

Signed-off-by: Lee Pak Hong <benreilly@vector.Linux.net>

Comments (0)

Files changed (1)

var/vabs/mate-notification-daemon/src/mate-notification-daemon.SlackBuild

 # AUTHORS = 
 
 NAME="mate-notification-daemon"            #Enter package Name!
-VERSION=${VERSION:-"1.6.0"}      #Enter package Version!
+VERSION=${VERSION:-"1.6.1"}      #Enter package Version!
 VER=$(echo $VERSION|sed 's/-/_/') #this fixes - in version
 VL_PACKAGER=${VL_PACKAGER:-"hata_ph"}   #Enter your Name!
 LINK=${LINK:-"http://pub.mate-desktop.org/releases/1.6/$NAME-$VERSION.tar.xz"}  #Enter URL for package here!
 
 #SYSTEM VARIABLES
 #----------------------------------------------------------------------------
-BUILDNUM=${BUILDNUM:-"2"}
+BUILDNUM=${BUILDNUM:-"1"}
 VL_VERSION=${VL_VERSION:-"$(ls /var/log/packages/|grep vlconfig2|cut -d "-" -f4|cut -c 2-5)"}
 BUILD=${BUILD:-"$BUILDNUM""$VL_VERSION"}
 ARCH=${ARCH:-"$(uname -m)"}
 LDFLAG_OPTIONS=${LDFLAG_OPTIONS:-""}
 ADDRB=${ADDRB:-""} #Add deps that need to be added to the slack-required file here
 EXRB=${EXRB:-""} #Add deps that need to be excluded from the slack-required file here
-MAKEDEPENDS=${MAKEDEPENDS:-"dbus-glib libcanberra desktop-file-utils mate-common libmatewnck libnotify"} #Add deps needed TO BUILD this package here.
+MAKEDEPENDS=${MAKEDEPENDS:-"mate-common glib2 gtk+2 libmatewnck libnotify dbus-glib libcanberra desktop-file-utils"} #Add deps needed TO BUILD this package here.
 #----------------------------------------------------------------------------
 
 # DO NOT EXECUTE if NORUN is set to 1
 if [[ "$ARCH" = i?86 ]]; then
   ARCH=i586
   SLKCFLAGS="-O2 -march=i586 -mtune=i686"
-  CONFIGURE_TRIPLET="i486-slackware-linux"
+  CONFIGURE_TRIPLET="i586-vector-linux"
   LIBDIRSUFFIX=""
 elif [ "$ARCH" = "x86_64" ]; then
   SLKCFLAGS="-O2 -fpic"
-  CONFIGURE_TRIPLET="x86_64-slackware-linux"
+  CONFIGURE_TRIPLET="x86_64-vlocity-linux"
   LIBDIRSUFFIX="64"
 elif [ "$ARCH" = "powerpc" ]; then
   SLKCFLAGS="-O2"
 echo "Configuring source..."
 ./autogen.sh 
 ./configure --prefix=/usr \
+  --libdir=/usr/lib${LIBDIRSUFFIX} \
   --libexecdir=/usr/lib${LIBDIRSUFFIX}/$NAME \
   --infodir=/usr/info \
   --sysconfdir=/etc \
   --localstatedir=/var \
   --mandir=/usr/man \
-  --disable-schemas-install \
-  --with-mateconf-source="xml::/etc/mateconf/mateconf.xml.defaults" \
+  --disable-schemas-compile \
   --program-prefix="" \
   --program-suffix="" \
   --build=$CONFIGURE_TRIPLET \
 
 
 mkdir -p $PKG/usr/doc/$NAME-$VERSION
-cp -a ABOUT* AUTHORS COPYING ChangeLog INSTALL NEWS README \
-$PKG/usr/doc/$NAME-$VERSION
+cp -a AUTHORS COPYING ChangeLog NEWS README $PKG/usr/doc/$NAME-$VERSION
 cat $CWD/$NAME.SlackBuild > $PKG/usr/doc/$NAME-$VERSION/$NAME.SlackBuild
 
 #----------------------------------------------------------------------