summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD11
2 files changed, 8 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c71cba360e7..4ca4aec44fb 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = ccnet-server
pkgdesc = Internal communication framework and user/group management for seafile server
pkgver = 6.3.4
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/haiwen/ccnet-server
arch = i686
arch = x86_64
@@ -15,6 +15,7 @@ pkgbase = ccnet-server
depends = libldap
depends = libmariadbclient
depends = postgresql-libs
+ provides = ccnet
conflicts = ccnet
source = ccnet-server-v6.3.4-server.tar.gz::https://github.com/haiwen/ccnet-server/archive/v6.3.4-server.tar.gz
sha256sums = ab3d5bda728f87c71929a6247c9f74c5209b9b8e44bafa77db91e8de590ec6ef
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
}