blob: 5251d3d1bc397cefd8b00ea8cfaf95533f8c3eff (
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
37
38
39
40
41
42
43
44
45
|
# Maintainer: Ivan Shapovalov <intelfx@intelfx.name>
# Contributor: Sven-Hendrik Haase <svenstaro@gmail.com>
# Contributor: Gavin Yancey <gyancey@hmc.edu>
# Contributor: Timofey Titovets <nefelim4ag@gmail.com>
pkgname=bees-git
pkgver=0.10.r3.g75131f3
pkgrel=1
pkgdesc="Best-Effort Extent-Same, a btrfs deduplicator daemon"
arch=('x86_64')
url="https://github.com/Zygo/bees"
license=('GPL3')
depends=('util-linux-libs' 'bash')
makedepends=('git' 'discount' 'btrfs-progs' 'systemd')
provides=('bees')
conflicts=('bees')
source=('git+https://github.com/zygo/bees.git#branch=master')
sha256sums=('SKIP')
pkgver() {
cd bees
git describe --long --tags | sed 's/^v//;s/-/.r/;s/-/./'
}
build() {
cd bees
export CXXFLAGS="$CXXFLAGS -Wno-error=restrict -Wno-error=maybe-uninitialized"
export CFLAGS="$CFLAGS -Wno-error=restrict -Wno-error=maybe-uninitialized"
make BEES_VERSION="${pkgver}" all scripts
}
check() {
cd bees
make BEES_VERSION="${pkgver}" test
}
package() {
cd bees
make BEES_VERSION="${pkgver}" DESTDIR="${pkgdir}" install
mv "${pkgdir}/usr/sbin" "${pkgdir}/usr/bin"
}
|