blob: 538532f444a74d7d2288ff1f5c1171433035316d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# Contributor: <xmingske@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=seahub
pkgver=4.0.1
pkgrel=1
pkgdesc="web frontend for Seafile"
url="https://github.com/haiwen/seahub/"
arch="noarch"
license="Apache"
depends="bash py-dateutil py-mako py-simplejson py-pillow py-pip py-virtualenv py-six
python py-django1.5 py-gunicorn py-chardet py-django-djblets py-ccnet py-libsearpc
py-django-simple-captcha py-django-registration py-flup py-seafile seafile-server"
source="$pkgname-$pkgver.tar.gz::https://github.com/haiwen/seahub/archive/v${pkgver}-server.tar.gz
seahub.confd seahub.initd"
install="seahub.post-install"
_builddir="${srcdir}/${pkgname}-${pkgver}-server"
prepare() {
local pf
cd "${_builddir}"
for pf in $source; do
case $pf in
*.patch) msg $pf; patch -p1 -i "$srcdir"/${pf} || return 1;;
esac
done
}
build() {
echo
}
package() {
cd "${_builddir}"
mkdir -m 755 -p "${pkgdir}"/usr/share/seahub || return 1
cp -ar "${_builddir}"/* "${pkgdir}"/usr/share/seahub
install -D -m0644 "${srcdir}"/seahub.confd "${pkgdir}"/etc/conf.d/seahub \
|| return 1
install -D -m0755 "${srcdir}"/seahub.initd "${pkgdir}"/etc/init.d/seahub \
|| return 1
}
md5sums="93e8755aec1cd7d028538e04683f30e7 seahub-4.0.1.tar.gz
e1ed5467cd78159fb7e73e2d2d925a8e seahub.confd
1a1777dd469cbbc6773b2c31e265cb37 seahub.initd"
sha256sums="7429751f1b47dbaf6ecc5b8cb32f00b85c817f536b34b923fb47cc046559c6d3 seahub-4.0.1.tar.gz
8b0e8bf45d278bbf32f4dca4a402f2584a87e46adee2e24732804acebd1c2cff seahub.confd
2da114c938efa349f7762466d5cffc26393262968db5194cd469c2fd79077396 seahub.initd"
sha512sums="85c793893dcada7b0600abdc4ab6c0fcc7ee978d8828af1cd7dc6a711c30c45e9b217c906de282b7d901923f582882361a2ac2f39ed6d49c8d8c5b6816dfc14e seahub-4.0.1.tar.gz
d55dbd3e59ae48a930cbcb42ec840689a17f6cb1cb16f6d0d155e646b24accb8a5e5c1f59f549f66941bb21475b2c6ce55a3bb014d016bfeddea13602984c2a6 seahub.confd
71445244d966d5770618c2b4b003959ae135e737657d7b7cb79b2def8787655d0a50f8a7fdb1fee64108e51410e99d1a52144c707c2247bc7ffd8d422c5c7f4c seahub.initd"
|