2024-01-31 02:45:17 +01:00
|
|
|
# Contributor: ITmodulo <itmodulo@disroot.org>
|
|
|
|
# Maintainer: ITmodulo <itmodulo@disroot.org>
|
|
|
|
pkgname=seafile
|
|
|
|
pkgver=9.0.4
|
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="An online file storage and collaboration tool"
|
|
|
|
arch="all"
|
|
|
|
url="https://github.com/haiwen/$pkgname"
|
|
|
|
license="GPL-2.0-only"
|
2024-01-31 12:12:06 +01:00
|
|
|
depends="libsearpc py3-future fuse"
|
2024-01-31 02:45:17 +01:00
|
|
|
makedepends="vala intltool libevent-dev fuse-dev libwebsockets-dev sqlite-dev py3-future libsearpc libtool automake autoconf pkgconf curl-dev"
|
|
|
|
subpackages="$pkgname-doc $pkgname-pyc"
|
|
|
|
source="seafile-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz"
|
|
|
|
|
|
|
|
prepare() {
|
|
|
|
default_prepare
|
|
|
|
cd "$srcdir/seafile-$pkgver"
|
|
|
|
sed -i 's|(DESTDIR)@prefix@|@prefix@|' './lib/libseafile.pc.in'
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "$srcdir/seafile-$pkgver"
|
|
|
|
./autogen.sh
|
|
|
|
./configure \
|
|
|
|
--enable-console \
|
|
|
|
--prefix='/usr' \
|
|
|
|
PYTHON='/usr/bin/python3'
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "$srcdir/seafile-$pkgver"
|
|
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
}
|
|
|
|
sha512sums="
|
|
|
|
b0aece4330054d5d0b417370ed2160f4c4ef0c67e41335a2cad7f68e745302aa7fab5d46de411e9d24135ab67b782872d7b771bdcd5c5c1e14978086fc7e4d3e seafile-9.0.4.tar.gz
|
|
|
|
"
|