blob: 96e0dbb454ead34d580fa2c8d504d68c23754e97 (
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
|
# Maintainer: Juicedata <team@juicefs.io>
# Contributor: Herald Yu <yuhr123@gmail.com>
pkgname=juicefs
_pkgname=juicefs
pkgver=1.2.2
_pkgver=$(echo $pkgver | sed -E 's/^([0-9\.]+)([^0-9].*)?$/\1-\2/' | sed -E 's/-$//')
pkgrel=1
pkgdesc="A distributed POSIX file system built on top of Redis and S3 (Community Edition)."
arch=('x86_64' 'aarch64' 'arm64')
url="https://github.com/juicedata/juicefs"
license=('Apache')
conflicts=('juicefs')
depends=('glibc' 'fuse2')
makedepends=('go' 'git')
source=("juicefs-$_pkgver.tar.gz::https://github.com/juicedata/juicefs/archive/refs/tags/v$_pkgver.tar.gz")
sha256sums=('44aa8933887a237d5a69af84366d9cabe3eff025beabed19b57353fd941c2e45')
prepare() {
cd "$_pkgname-$_pkgver"
}
build() {
cd "$_pkgname-$_pkgver"
make
}
package() {
cd "$_pkgname-$_pkgver"
install -Dm755 $_pkgname "$pkgdir"/usr/bin/$_pkgname
ln -s /usr/bin/$_pkgname "$pkgdir"/usr/bin/mount.$_pkgname
}
|