blob: 58d32ba5eb23b77fbd07f485e4d1de79b96be1be (
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
|
# Maintainer: willemw <willemw12@gmail.com>
# Contributor: jfrankenau
pkgname=mergerfs-tools-git
pkgver=r115.ff4ef03
pkgrel=1
pkgdesc='Tools to help manage data in a mergerfs pool'
arch=(any)
url=https://github.com/trapexit/mergerfs-tools
license=(ISC)
makedepends=(git)
depends=(python-xattr)
optdepends=('rsync: for mergerfs.balance and mergerfs.dup')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=("$pkgname::git+$url.git")
sha256sums=('SKIP')
pkgver() {
cd $pkgname
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
}
package() {
make -C $pkgname DESTDIR="$pkgdir" PREFIX=/usr install
install -Dm644 $pkgname/LICENSE -t "$pkgdir/usr/share/licenses/${pkgname%-git}"
}
|