blob: 9b1f2f4b3b42bfefef4a24b0aaed21e76b9c6e35 (
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
|
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer: ScrumpyJack <scrumpyjack@st.ilet.to>
pkgname=owncloud-client
pkgver=2.2.4
pkgrel=0
pkgdesc="ownCloud Desktop Client"
url="https://github.com/owncloud/client"
arch="all"
license="GPL2"
depends=
depends_dev=
makedepends="$depends_dev cmake qt5-qttools-dev qt5-qtwebkit-dev
qt5-qtkeychain-dev"
install=
subpackages="$pkgname-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/owncloud/client/archive/v$pkgver.tar.gz"
builddir="$srcdir"/client-$pkgver
build() {
cd "$builddir"
cmake \
-DCMAKE_BUILD_TYPE="Release" \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_SYSCONFDIR=/etc/$pkgname
make all || return 1
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
# remove the 2 lines below (and this) if there is no init.d script
# install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
# install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname
}
md5sums="144022a1773df0c4a25686a043bf4b1f owncloud-client-2.2.4.tar.gz"
sha256sums="416e8a003ba95387cb5e22fac909c2c2ee21765de413a26397027d36ad89e39b owncloud-client-2.2.4.tar.gz"
sha512sums="95de459bf818201d92b55ea0e4a0c2f6aa8f8d5fd57de2c937b7679bfafd4f98e64a793b00bbc5654da36c06a8c78f8f85aad449b5190b82d8a7f529f8714018 owncloud-client-2.2.4.tar.gz"
|