mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
network/choqok: Updated for version 0.9.90.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
parent
813d297940
commit
5c6b7341c3
5 changed files with 44 additions and 29 deletions
|
@ -2,4 +2,4 @@ Choqok is a fast, efficient, and simple to use micro-blogging client for
|
|||
KDE, named using an ancient Persian word for 'sparrow'. Choqok currently
|
||||
supports Twitter.com and Identi.ca services.
|
||||
|
||||
Choqok requires KDE4.
|
||||
This requires qoauth and qjson.
|
||||
|
|
|
@ -2,19 +2,35 @@
|
|||
|
||||
# Slackware build script for choqok
|
||||
|
||||
# Written by Josiah Boothby <josiahb@gmail.com>
|
||||
# Copyright 2010 David Woodfall <dave@dawoodfall.net>
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
# permitted provided that the following conditions are met:
|
||||
#
|
||||
# 1. Redistributions of this script must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
|
||||
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
|
||||
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
||||
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
|
||||
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
|
||||
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=choqok
|
||||
VERSION=${VERSION:-0.6.6}
|
||||
VERSION=${VERSION:-0.9.90}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
# Automatically determine the architecture we're building on:
|
||||
if [ -z "$ARCH" ]; then
|
||||
case "$( uname -m )" in
|
||||
i?86) ARCH=i486 ;;
|
||||
arm*) ARCH=arm ;;
|
||||
# Unless $ARCH is already set, use uname -m for all other archs:
|
||||
*) ARCH=$( uname -m ) ;;
|
||||
esac
|
||||
fi
|
||||
|
@ -22,8 +38,6 @@ fi
|
|||
CWD=$(pwd)
|
||||
TMP=${TMP:-/tmp/SBo}
|
||||
PKG=$TMP/package-$PRGNAM
|
||||
BUILDDIR=$TMP/build-$PRGNAM
|
||||
SRCDIR=$TMP/$PRGNAM-$VERSION
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
if [ "$ARCH" = "i486" ]; then
|
||||
|
@ -40,9 +54,9 @@ else
|
|||
LIBDIRSUFFIX=""
|
||||
fi
|
||||
|
||||
set -e
|
||||
set -e
|
||||
|
||||
rm -rf $PKG
|
||||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
rm -rf $PRGNAM-$VERSION
|
||||
|
@ -60,26 +74,26 @@ cd build
|
|||
cmake \
|
||||
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
|
||||
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
|
||||
-DCMAKE_INSTALL_PREFIX:PATH=$(kde4-config --prefix) \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
|
||||
..
|
||||
make
|
||||
-DMAN_INSTALL_DIR=/usr/man \
|
||||
-DCMAKE_BUILD_TYPE=Release ..
|
||||
make
|
||||
make install DESTDIR=$PKG
|
||||
cd -
|
||||
cd ..
|
||||
|
||||
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
|
||||
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a \
|
||||
AUTHORS COPYING README TODO changelog \
|
||||
AUTHORS COPYING README TODO *.txt \
|
||||
$PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
mkdir -p $PKG/install
|
||||
cat $CWD/doinst.sh > $PKG/install/doinst.sh
|
||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||
cat $CWD/doinst.sh > $PKG/install/doinst.sh
|
||||
|
||||
cd $PKG
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
|
||||
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
PRGNAM="choqok"
|
||||
VERSION="0.6.6"
|
||||
VERSION="0.9.90"
|
||||
HOMEPAGE="http://choqok.gnufolks.org"
|
||||
DOWNLOAD="http://mirror.umoss.org/download.ospdev.net/choqok/choqok/0.6.6/choqok-0.6.6.tar.bz2"
|
||||
MD5SUM="712ba741b6f256ec230b36bfe574d1c0"
|
||||
DOWNLOAD="http://d10xg45o6p6dbl.cloudfront.net/projects/c/choqok/choqok-0.9.90.tar.bz2"
|
||||
MD5SUM="d3b9751791a08370de2c3fab3bf501ad"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
MAINTAINER="Josiah Boothby"
|
||||
EMAIL="josiahb@gmail.com"
|
||||
APPROVED="Erik Hanson, dsomero"
|
||||
MAINTAINER="David Woodfall"
|
||||
EMAIL="dave@dawoodfall.net"
|
||||
APPROVED="rworkman"
|
||||
|
|
|
@ -2,8 +2,9 @@ if [ -x /usr/bin/update-desktop-database ]; then
|
|||
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
|
||||
fi
|
||||
|
||||
if [ -r usr/share/icons/hicolor/icon-theme.cache ]; then
|
||||
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
|
||||
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
||||
/usr/bin/gtk-update-icon-cache -q usr/share/icons/hicolor >/dev/null 2>&1
|
||||
/usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
|
||||
fi
|
||||
fi
|
||||
|
||||
|
|
|
@ -9,11 +9,11 @@
|
|||
choqok: choqok (micro-blogging client for KDE4)
|
||||
choqok:
|
||||
choqok: Choqok is a micro-blogging client for KDE4, supporting twitter.com
|
||||
choqok: and identi.ca services. The name comes from an ancient Persian word
|
||||
choqok: and identi.ca services. The name comes from an ancient Persian word
|
||||
choqok: meaning 'sparrow'.
|
||||
choqok:
|
||||
choqok:
|
||||
choqok:
|
||||
choqok:
|
||||
choqok:
|
||||
choqok: Home: http://choqok.gnufolks.org
|
||||
choqok:
|
||||
choqok:
|
||||
choqok:
|
||||
choqok:
|
||||
|
|
Loading…
Reference in a new issue