Edvinas Valatka před 10 roky
revize
a231f457b4
3 změnil soubory, kde provedl 63 přidání a 0 odebrání
  1. 24 0
      .SRCINFO
  2. 28 0
      PKGBUILD
  3. 11 0
      seafile-client-qt5.install

+ 24 - 0
.SRCINFO

@@ -0,0 +1,24 @@
+# Generated by mksrcinfo v8
+# Sun Dec 20 13:03:58 UTC 2015
+pkgbase = seafile-client-qt5
+	pkgdesc = This is seafile client for synchronizing your local files with seafile server. Qt5 version.
+	pkgver = 5.0.1
+	pkgrel = 0
+	url = https://github.com/haiwen/seafile-client/
+	install = seafile-client-qt5.install
+	arch = i686
+	arch = x86_64
+	license = Apache
+	makedepends = cmake
+	depends = seafile-shared>=4.3.0
+	depends = qt5
+	depends = qt5-webkit
+	depends = qt5-base
+	conflicts = seafile-client
+	options = !libtool
+	options = !emptydirs
+	source = seafile-client-v5.0.1.tar.gz::https://github.com/haiwen/seafile-client/archive/v5.0.1.tar.gz
+	sha256sums = 672640dc6bb9775847dfab3761aa4fb952fc1c93363b8f11b1461872ab0799e4
+
+pkgname = seafile-client-qt5
+

+ 28 - 0
PKGBUILD

@@ -0,0 +1,28 @@
+# Contributor: Edvinas Valatka <edacval@gmail.com>
+# Maintainer: Edvinas Valatka <edacval@gmail.com>
+_pkgname=seafile-client
+pkgname=${_pkgname}-qt5
+pkgver=5.0.1
+pkgrel=0
+pkgdesc="This is seafile client for synchronizing your local files with seafile server. Qt5 version."
+arch=('i686' 'x86_64')
+url="https://github.com/haiwen/seafile-client/"
+license=('Apache')
+depends=('seafile-shared>=4.3.0' 'qt5' 'qt5-webkit' 'qt5-base')
+makedepends=('cmake')
+options=('!libtool' '!emptydirs')
+conflicts=('seafile-client')
+install=seafile-client-qt5.install
+source=("${_pkgname}-v${pkgver}.tar.gz::https://github.com/haiwen/${_pkgname}/archive/v${pkgver}.tar.gz")
+
+build () {
+    cd "$srcdir/${_pkgname}-${pkgver}"
+    cmake -DUSE_QT5=ON -DBUILD_SHIBBOLETH_SUPPORT=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr .
+    make
+}
+
+package () {
+    cd "${srcdir}/${_pkgname}-${pkgver}"
+    make DESTDIR="${pkgdir}" install
+}
+sha256sums=('672640dc6bb9775847dfab3761aa4fb952fc1c93363b8f11b1461872ab0799e4')

+ 11 - 0
seafile-client-qt5.install

@@ -0,0 +1,11 @@
+post_install() {
+  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}