desktop/csync/PKGBUILD

37 lines
1013 B
Bash
Raw Normal View History

2012-05-23 00:13:19 +08:00
# Maintainer: Kuba Serafinowski <zizzfizzix(at)gmail(dot)com>
# https://github.com/zizzfizzix/pkgbuilds
2012-05-22 23:06:27 +08:00
pkgname=csync
pkgver=0.50.6
2012-05-23 01:01:04 +08:00
pkgrel=5
2012-05-23 00:13:19 +08:00
pkgdesc="A file synchronizer especially designed for you, the normal user."
2012-05-22 23:06:27 +08:00
arch=("i686" "x86_64")
url="http://www.csync.org"
2012-05-23 00:13:19 +08:00
license=('GPL2')
2012-05-23 01:01:04 +08:00
depends=('log4cxx' 'sqlite3' 'iniparser' 'neon')
2012-05-23 00:13:19 +08:00
makedepends=('cmake' 'smbclient' 'libssh')
2012-05-23 01:01:04 +08:00
optdepends=('samba: smb support'
'libssh: sftp support')
options=()
2012-05-23 00:13:19 +08:00
source=("http://download.owncloud.com/download/${pkgname}-${pkgver}.tar.bz2")
2012-05-22 23:06:27 +08:00
md5sums=('c3972402b32b601fcab8dddc3e67a4d7')
build() {
2012-05-23 01:01:04 +08:00
if [[ -e ${srcdir}/${pkgname}-${pkgver}-build ]]; then
rm -rf ${srcdir}/${pkgname}-${pkgver}-build;
fi
2012-05-23 00:13:19 +08:00
mkdir ${srcdir}/${pkgname}-${pkgver}-build
2012-05-23 01:01:04 +08:00
2012-05-23 00:13:19 +08:00
cd ${srcdir}/${pkgname}-${pkgver}-build
2012-05-23 01:01:04 +08:00
cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=${_buildtype} \
-DCMAKE_INSTALL_PREFIX=/usr
2012-05-23 00:13:19 +08:00
make
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}-build
make DESTDIR=${pkgdir} install
2012-05-22 23:06:27 +08:00
}