mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-25 02:52:13 +08:00
37 lines
1013 B
Bash
37 lines
1013 B
Bash
# Maintainer: Kuba Serafinowski <zizzfizzix(at)gmail(dot)com>
|
|
# https://github.com/zizzfizzix/pkgbuilds
|
|
|
|
pkgname=csync
|
|
pkgver=0.50.6
|
|
pkgrel=5
|
|
pkgdesc="A file synchronizer especially designed for you, the normal user."
|
|
arch=("i686" "x86_64")
|
|
url="http://www.csync.org"
|
|
license=('GPL2')
|
|
depends=('log4cxx' 'sqlite3' 'iniparser' 'neon')
|
|
makedepends=('cmake' 'smbclient' 'libssh')
|
|
optdepends=('samba: smb support'
|
|
'libssh: sftp support')
|
|
options=()
|
|
source=("http://download.owncloud.com/download/${pkgname}-${pkgver}.tar.bz2")
|
|
md5sums=('c3972402b32b601fcab8dddc3e67a4d7')
|
|
|
|
build() {
|
|
if [[ -e ${srcdir}/${pkgname}-${pkgver}-build ]]; then
|
|
rm -rf ${srcdir}/${pkgname}-${pkgver}-build;
|
|
fi
|
|
|
|
mkdir ${srcdir}/${pkgname}-${pkgver}-build
|
|
|
|
cd ${srcdir}/${pkgname}-${pkgver}-build
|
|
|
|
cmake ../${pkgname}-${pkgver} \
|
|
-DCMAKE_BUILD_TYPE=${_buildtype} \
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
make
|
|
}
|
|
package() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}-build
|
|
make DESTDIR=${pkgdir} install
|
|
}
|