summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorjohannes-lange2015-06-10 08:35:09 +0200
committerjohannes-lange2015-06-10 08:35:09 +0200
commit1c7226a33c72be69f31e50a57e600e6b0ee04928 (patch)
treef394990d2ecd98c1ebb4cdc25e0aa0c08d360638
downloadaur-1c7226a33c72be69f31e50a57e600e6b0ee04928.tar.gz
imported latest AUR3 version
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD37
2 files changed, 53 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..5088d7e9348
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = cernbox
+ pkgdesc = Synchronization client for CERN's CERNBox cloud service (based on ownCloud)
+ pkgver = 1.7.2_3.1
+ pkgrel = 2
+ url = http://cernbox.web.cern.ch/
+ arch = i686
+ arch = x86_64
+ license = GPL
+ depends = neon
+ depends = qtwebkit
+ depends = qtkeychain
+ provides = ocsync
+ provides = cernboxsync
+
+pkgname = cernbox
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..4ff0f571dd3
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,37 @@
+# Maintainer: Johannes Lange (<firstname>DOT<lastname>ATcern.ch>)
+pkgname=cernbox
+pkgver=1.7.2_3.1
+pkgrel=2
+pkgdesc="Synchronization client for CERN's CERNBox cloud service (based on ownCloud)"
+arch=('i686' 'x86_64')
+url="http://cernbox.web.cern.ch/"
+license=('GPL')
+depends=('neon' 'qtwebkit' 'qtkeychain')
+provides=('ocsync' 'cernboxsync')
+
+if [ "$CARCH" = "i686" ]; then
+ source=(
+ http://cernbox-resources.web.cern.ch/cernbox-resources/Linux/repo/openSUSE_13.2/i586/cernbox-client-${pkgver/_/-}.i586.rpm
+ http://cernbox-resources.web.cern.ch/cernbox-resources/Linux/repo/openSUSE_13.2/i586/libcernboxsync0-${pkgver/_/-}.i586.rpm
+ )
+ md5sums=('6e81d85f032302cb135c108f8b02a9c5'
+ 'd00a13e8e6e032970fc6b34a7aa81be9')
+
+elif [ "$CARCH" = "x86_64" ]; then
+ source=(
+ http://cernbox-resources.web.cern.ch/cernbox-resources/Linux/repo/openSUSE_13.2/x86_64/cernbox-client-${pkgver/_/-}.x86_64.rpm
+ http://cernbox-resources.web.cern.ch/cernbox-resources/Linux/repo/openSUSE_13.2/x86_64/libcernboxsync0-${pkgver/_/-}.x86_64.rpm
+ )
+ md5sums=('68110fa2ae3ad0e973e46337784c00ff'
+ 'e5c4c22cbed3962950ae5af93d328afa')
+fi
+
+package() {
+ cp -dpr "${srcdir}/usr" "${pkgdir}"
+ cp -dpr "${srcdir}/etc" "${pkgdir}"
+ mkdir "${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
+}