mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-29 21:32:22 +01:00
49 lines
1.4 KiB
Plaintext
49 lines
1.4 KiB
Plaintext
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
|
|
# Maintainer:
|
|
pkgname=owncloud-client
|
|
pkgver=1.8.1
|
|
pkgrel=1
|
|
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/v1.8.1.tar.gz"
|
|
|
|
|
|
_builddir="$srcdir"/client-$pkgver
|
|
|
|
prepare() {
|
|
cd "$_builddir"
|
|
mkdir build
|
|
# apply patches here
|
|
}
|
|
|
|
build() {
|
|
cd "$_builddir/build"
|
|
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/build"
|
|
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="1730025ec2f922946fa4ebfda819f0f7 owncloud-client-1.8.1.tar.gz"
|
|
sha256sums="3a30da888ca9705892b4e7b313ad0aeb4525fb97b83453540a147841f7f136bc owncloud-client-1.8.1.tar.gz"
|
|
sha512sums="f3b99ddbb64871a6e05144f5c2129323e368da6c62adad1a3810915ad4777a950636fb0deda4014b2ba27a738c03b0654ec95a6ade4afcb4dd6df0cfbaecce78 owncloud-client-1.8.1.tar.gz"
|