summaryrefslogtreecommitdiffstats
path: root/misc/boncuk
diff options
context:
space:
mode:
Diffstat (limited to 'misc/boncuk')
-rw-r--r--misc/boncuk/README12
-rw-r--r--misc/boncuk/boncuk.SlackBuild7
-rw-r--r--misc/boncuk/boncuk.info2
3 files changed, 12 insertions, 9 deletions
diff --git a/misc/boncuk/README b/misc/boncuk/README
index cf824e2902..1748f8fc76 100644
--- a/misc/boncuk/README
+++ b/misc/boncuk/README
@@ -1,6 +1,8 @@
-Boncuk is a simple QT based Turkish-English and English-Turkish dictionary
-which can do off-line and on-line look-ups. By default, it will install
-the off-line word look-up database in /usr/share/boncuk/. If you don't
-want to use the off-line word database (to instead use only the on-line
-word look-up), run the script like this:
+Boncuk is a simple QT based Turkish-English and English-Turkish
+dictionary which can do off-line and on-line look-ups. By
+default, it will install the off-line word look-up database in
+/usr/share/boncuk/. If you don't want to use the off-line word
+database (to instead use only the on-line word look-up), run the
+script like this:
+
DICT_INSTALL=NO ./boncuk.SlackBuild.
diff --git a/misc/boncuk/boncuk.SlackBuild b/misc/boncuk/boncuk.SlackBuild
index cdf69a5ce7..4b63f48a30 100644
--- a/misc/boncuk/boncuk.SlackBuild
+++ b/misc/boncuk/boncuk.SlackBuild
@@ -36,7 +36,7 @@ DICT_VERSION=${DICT_VERSION:-0.1.1}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -54,8 +54,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -83,6 +83,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+. /etc/profile.d/qt4.sh
lrelease boncuk.pro
qmake QMAKE_CXXFLAGS="$SLKCFLAGS -fpermissive"
make
diff --git a/misc/boncuk/boncuk.info b/misc/boncuk/boncuk.info
index 342abee123..8c86404d5b 100644
--- a/misc/boncuk/boncuk.info
+++ b/misc/boncuk/boncuk.info
@@ -7,6 +7,6 @@ MD5SUM="7095e5b1de358d79eada315f47915d59 \
c02201294ec15d45549a05a9455b2811"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="qt4"
MAINTAINER="Ozan Türkyılmaz"
EMAIL="ozan.turkyilmaz@gmail.com"