mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-04 03:37:16 +08:00
40 lines
1.2 KiB
Bash
40 lines
1.2 KiB
Bash
# Maintainer: Michael Haesel <michael[dot]haesel[at]gmail[dot]com>
|
|
# Contributor: Carlos García carlos-lbs <carlos.garcia(at)logicalbricks(dot)com>
|
|
# Contributor: Kuba Serafinowski <zizzfizzix(at)gmail(dot)com>
|
|
# https://github.com/zizzfizzix/pkgbuilds
|
|
|
|
_name=ocsync
|
|
pkgname=csync-owncloud
|
|
pkgver=0.80.0
|
|
pkgrel=1
|
|
pkgdesc="A file synchronizer especially designed for you, the normal user."
|
|
arch=("x86_64")
|
|
url="http://www.csync.org"
|
|
license=('GPL2')
|
|
depends=('sqlite3' 'iniparser' 'neon' 'libssh' 'smbclient')
|
|
makedepends=('cmake')
|
|
provides=('csync')
|
|
conflicts=('csync')
|
|
source=("http://download.owncloud.com/download/${_name}-${pkgver}.tar.bz2")
|
|
sha256sums=('0b4d935a812dc2164a58490909ee0a7269e9a9e1a5d16e29bf83d53a33d536db')
|
|
_buildtype="Release"
|
|
|
|
build() {
|
|
if [[ -e "${srcdir}/${_name}-${pkgver}-build" ]]; then rm -rf "${srcdir}/${_name}-${pkgver}-build"; fi
|
|
mkdir "${srcdir}/${_name}-${pkgver}-build"
|
|
cd "${srcdir}/${_name}-${pkgver}-build"
|
|
|
|
cmake -DCMAKE_BUILD_TYPE=${_buildtype} \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DSYSCONF_INSTALL_DIR=/etc \
|
|
../${_name}-${pkgver}
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${_name}-${pkgver}-build"
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|
|
|