summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: dcb4a71e68f3813a3cb69f119a0382c04efcf311 (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
# Maintainer: willemw <willemw12@gmail.com>
# Contributor: Oliver Rümpelein <arch@pheerai.de>

pkgname=mergerfs
pkgver=2.25.1
pkgrel=2
pkgdesc="FUSE based union filesystem"
arch=('x86_64')
url="https://github.com/trapexit/mergerfs"
license=('custom:ISC')
#NOTE fuse3 is not a dependency of mergerfs. fuse2 depends on fuse-common, which may have a dependency on fuse3 (ldd /usr/bin/mount.fuse: libfuse3.so.3)
depends=('fuse2' 'fuse3')
makedepends=('git')    # 'pandoc'
#source=("https://github.com/trapexit/mergerfs/archive/$pkgver.tar.gz")
source=("https://github.com/trapexit/mergerfs/releases/download/$pkgver/mergerfs-$pkgver.tar.gz")
md5sums=('9700e341c2b20b8986936f5d0c253728')

build() {
  cd $pkgname-$pkgver
  make DESTDIR="$pkgdir" PREFIX="/usr" SBINDIR="/usr/bin"
}

package() {
  cd $pkgname-$pkgver
  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
  make DESTDIR="$pkgdir" PREFIX="/usr" SBINDIR="/usr/bin" install
}