blob: ca4315e3a7f31883515f066f0bbcaa0a97a820d0 (
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
|
# Maintainer: Jonne Haß <me@jhass.eu>
pkgname=snazzer-git
pkgver=r226.50bf4f2
pkgrel=1
pkgdesc="btrfs snapshotting and backup system offering snapshot measurement, transport and pruning. "
arch=('any')
url="https://github.com/csirac2/snazzer"
license=('BSD')
depends=('btrfs-progs')
makedepends=('git')
source=("git+https://github.com/csirac2/snazzer.git")
sha256sums=('SKIP')
pkgver() {
cd "snazzer"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
# Requires sudo currently
#check() {
# cd "$srcdir/snazzer"
#
# make test
#}
prepare() {
cd "$srcdir/snazzer"
sed -i '/export PATH/s#$#:/usr/bin/core_perl#' snazzer-send-wrapper
}
package() {
cd "$srcdir/snazzer"
make INSTALL_PREFIX="$pkgdir/usr/" install
install -Dm644 "LICENSE.md" "$pkgdir/usr/share/licenses/$pkgname/LICENSE.md"
}
|