summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorJohannes Lange2017-10-15 20:47:15 +0200
committerJohannes Lange2017-10-15 20:47:15 +0200
commit720c6ff2ce40b67012e74e20ec330bab47b25235 (patch)
tree431c0c82d11adaec6e25a3a9fc932ff3fd072de7 /PKGBUILD
parent2f6dbc78582779cce692e1b167c640cdb4eafdc1 (diff)
downloadaur-720c6ff2ce40b67012e74e20ec330bab47b25235.tar.gz
version 2.3.3 (no wrapper scripts anymore)
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD40
1 files changed, 14 insertions, 26 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 2732f29a251..54cf04a34b5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,45 +1,33 @@
# Maintainer: Johannes Lange (<firstname>DOT<lastname>ATcern.ch>)
pkgname=cernbox
-pkgver=2.1.1_1.1
-pkgrel=2
+pkgver=2.3.3_1119.1
+pkgrel=1
pkgdesc="Synchronization client for CERN's CERNBox cloud service (based on ownCloud). Note: CERN IT does not provide official support for Arch Linux. Use at your own risk."
arch=('x86_64')
url="http://cernbox.web.cern.ch/"
license=('GPL')
-depends=('neon' 'qt5-webkit')
+depends=('neon' 'qt5-webkit' 'qtkeychain')
provides=('ocsync' 'cernboxsync')
-_repo='http://cernbox.cern.ch/cernbox/doc/Linux/repo/openSUSE_13.2/x86_64/'
+_repo='http://cernbox.cern.ch/cernbox/doc/Linux/repo/openSUSE_Leap_42.3/x86_64/'
source=(
${_repo}cernbox-client-${pkgver/_/-}.x86_64.rpm
${_repo}libcernboxsync0-${pkgver/_/-}.x86_64.rpm
- ${_repo}libqt5keychain0-0.5-3.1.x86_64.rpm
- cernbox
- cernboxcmd
)
md5sums=(
- 'dc1ec5cf677831dcadd019ce5e88516c'
- '743d03f22dcf357112590adbfc120306'
- '54e5726b228dde3b1593d357607861c3'
- '911d014c0670d3bf7cbc622f00206339'
- '83a60fef4c5f69b2ed91605db490a955'
+ '7ab398b3684c7f353b90325da7d67fa9'
+ '6e2c98c67893c370aeb94572b5094a2a'
)
package() {
- cp -dpr "${srcdir}/usr" "${pkgdir}"
- cp -dpr "${srcdir}/etc" "${pkgdir}"
+ mkdir -p "${pkgdir}/usr"
+ cp -dpr "${srcdir}/usr/share" "${pkgdir}/usr/"
+ cp -r "${srcdir}/opt/ownCloud/cernbox/bin" "${pkgdir}/usr/"
+ cp -r "${srcdir}/opt/ownCloud/cernbox/lib64" "${pkgdir}/usr/lib"
+ mv "${pkgdir}/usr/lib/cernbox/"*.so* "${pkgdir}/usr/lib/"
+ rm -r "${pkgdir}/usr/lib/cernbox"
mkdir -p "${pkgdir}/usr/share/pixmaps"
cp "${pkgdir}/usr/share/icons/hicolor/128x128/apps/cernbox.png" "${pkgdir}/usr/share/pixmaps"
- if [ "$CARCH" = "x86_64" ]; then
- mv "${pkgdir}/usr/lib64" "${pkgdir}/usr/lib"
- fi
- mv "${pkgdir}/usr/bin/cernbox" "${pkgdir}/usr/lib/cernbox/"
- mv "${pkgdir}/usr/bin/cernboxcmd" "${pkgdir}/usr/lib/cernbox/"
- mv "${pkgdir}/usr/lib/libqt5keychain.so.0" "${pkgdir}/usr/lib/cernbox/"
- mv "${pkgdir}/usr/lib/libqt5keychain.so.0.5.0" "${pkgdir}/usr/lib/cernbox/"
- # wrapper scripts
- cp -p "${srcdir}/cernbox" "${pkgdir}/usr/bin"
- cp -p "${srcdir}/cernboxcmd" "${pkgdir}/usr/bin"
- chmod 755 "${pkgdir}/usr/bin/cernbox"
- chmod 755 "${pkgdir}/usr/bin/cernboxcmd"
+
+ cp -dpr "${srcdir}/etc" "${pkgdir}"
}