aboutsummaryrefslogtreecommitdiffstats
path: root/dooble
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-05-03 23:04:31 +0200
committerMattias Andrée <maandree@operamail.com>2014-05-03 23:04:31 +0200
commit494cb1505e7d9f4b6c37378afa578cfce96a3196 (patch)
treefdd5f3f8801b3787bddb78367921f6d9fcc5302f /dooble
parentseparation of spot-on and libspoton (diff)
downloadaur-packages-494cb1505e7d9f4b6c37378afa578cfce96a3196.tar.gz
aur-packages-494cb1505e7d9f4b6c37378afa578cfce96a3196.tar.bz2
aur-packages-494cb1505e7d9f4b6c37378afa578cfce96a3196.tar.xz
dooble packages use libspoton now instead of shipping their own
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'dooble')
-rw-r--r--dooble/PKGBUILD12
1 files changed, 5 insertions, 7 deletions
diff --git a/dooble/PKGBUILD b/dooble/PKGBUILD
index f211bfc..61b898f 100644
--- a/dooble/PKGBUILD
+++ b/dooble/PKGBUILD
@@ -2,12 +2,12 @@
pkgname=dooble
pkgver=1.47
-pkgrel=2
+pkgrel=3
pkgdesc='A safe WebKit Web browser'
url='http://dooble.sourceforge.net/'
arch=('i686' 'x86_64')
license=('custom:3-clause BSD')
-depends=('libpng' 'qt5-base' 'qt5-webkit' 'openssl')
+depends=('libpng' 'qt5-base' 'qt5-webkit' 'openssl' 'libspoton=0.09.04-1')
makedepends=('libpng' 'qt5-base' 'qt5-webkit' 'openssl' 'qt5-tools')
source=("http://downloads.sourceforge.net/project/dooble/Version%20${pkgver}/Dooble.d.tar.gz")
sha256sums=('1840074b5648bd3755f7cefa65388e562c8d7159c119240e5c5efe0f7e1316b8')
@@ -83,7 +83,9 @@ package()
sed -i s_"/usr/local/dooble"_"/opt/${pkgname}"_g \
"${pkgdir}/opt/${pkgname}/dooble.sh" \
"${pkgdir}/opt/${pkgname}/applications/dooble.desktop"
- sed -i s_'/usr/local/dooble/Lib\x00'_'/opt/dooble/Lib\x00\x00\x00\x00\x00\x00\x00'_g \
+ sed -i /LD_LIBRARY_PATH/d \
+ "${pkgdir}/opt/${pkgname}/dooble.sh"
+ sed -i s_'/usr/local/dooble/Lib\x00'_'/usr/lib\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'_g \
"${pkgdir}/opt/${pkgname}/Dooble" # The replacements's length must match the pattern's length
sed -i s_'\.sh$'__g \
"${pkgdir}/opt/${pkgname}/applications/dooble.desktop"
@@ -105,9 +107,5 @@ package()
sed -i s_"dooble.png"_"${pkgname}.png"_g \
"${pkgdir}/opt/${pkgname}/applications/${pkgname}.desktop"
fi
-
- msg "Add missing files"
- mkdir -p "$pkgdir/opt/${pkgname}/Lib"
- install -m755 "./libSpotOn/libspoton.so" "$pkgdir/opt/${pkgname}/Lib"
}