blob: 32b344f79d0652fbce33548bed1e97d326bd1234 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
# Maintainer (Arch): Kuba Serafinowski <zizzfizzix(at)gmail(dot)com>
# https://github.com/zizzfizzix/pkgbuilds
# Maintainer: Jorge Araya Navarro <shackra@riseup.net>
##############################################################
#### The section below can be adjusted to suit your needs ####
##############################################################
# What type of build do you want?
# See http://techbase.kde.org/Development/CMake/Addons_for_KDE#Buildtypes to check what is supported.
_buildtype='Release'
##############################################################
_name=mirall
pkgname=owncloud-client
pkgver=1.6.2
pkgrel=2
pkgdesc='ownCloud client based on mirall'
arch=('i686' 'x86_64' 'mips64el')
url='http://owncloud.org/'
license=('GPL2')
depends=('qtkeychain' 'qtwebkit' 'neon')
makedepends=('cmake' 'python-sphinx')
provides=('mirall' 'ocsync')
conflicts=('mirall-git' 'ocsync')
install=owncloud-client.install
backup=('etc/ownCloud/sync-exclude.lst')
source=("https://download.owncloud.com/desktop/stable/${_name}-${pkgver}.tar.bz2"
"https://download.owncloud.com/desktop/stable/${_name}-${pkgver}.tar.bz2.asc"
'man.patch')
md5sums=('52518b622e9b2c151e64a4b56bcf2414'
'SKIP'
'4e252cf4df3276c3dadf45232b4e17a2')
if [[ ! ${_buildtype} == 'Release' ]] && [[ ! ${_buildtype} == 'release' ]]; then
options=('debug')
fi
prepare() {
if [[ -e ${srcdir}/${_name}-${pkgver}-build ]]; then rm -rf ${srcdir}/${_name}-${pkgver}-build; fi
mkdir ${srcdir}/${_name}-${pkgver}-build
cd ${srcdir}/${_name}-${pkgver}
patch -p0 -i ${srcdir}/man.patch
}
build() {
cd ${srcdir}/${_name}-${pkgver}-build
cmake -DBUILD_WITH_QT4=on \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_BUILD_TYPE=${_buildtype} \
-DCMAKE_INSTALL_SYSCONFDIR=/etc/${pkgname} \
../${_name}-${pkgver}
make
make doc-man
}
package() {
cd ${srcdir}/${_name}-${pkgver}-build
make DESTDIR=${pkgdir} install
}
|