summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD11
1 files changed, 6 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 4ffef0a9e7a..c876a8498a3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,9 +3,9 @@
# Contributor: Edvinas Valatka <edacval@gmail.com>
# Contributor: Adrian Hühn <adrian.huehn@web.de>
-pkgname=ccnet-server
+pkgname='ccnet-server'
pkgver=6.3.4
-pkgrel=1
+pkgrel=2
pkgdesc="Internal communication framework and user/group management for seafile server"
arch=('i686' 'x86_64' 'armv7h' 'armv6h' 'aarch64')
url="https://github.com/haiwen/$pkgname"
@@ -13,15 +13,16 @@ license=('GPL2')
depends=('libevent' 'libsearpc' 'libldap' 'libmariadbclient' 'postgresql-libs')
makedepends=('vala')
conflicts=('ccnet')
+provides=('ccnet')
source=("$pkgname-v$pkgver-server.tar.gz::$url/archive/v$pkgver-server.tar.gz")
sha256sums=('ab3d5bda728f87c71929a6247c9f74c5209b9b8e44bafa77db91e8de590ec6ef')
-prepare () {
+prepare() {
cd "$srcdir/$pkgname-$pkgver-server"
sed -i "s|(DESTDIR)@prefix@|@prefix@|" "./libccnet.pc.in"
}
-build () {
+build() {
cd "$srcdir/$pkgname-$pkgver-server"
./autogen.sh
./configure \
@@ -33,7 +34,7 @@ build () {
make
}
-package () {
+package() {
cd "$srcdir/$pkgname-$pkgver-server"
make DESTDIR="$pkgdir" install
}