blob: e6f51c2c91928c4c7bfc476ace63a8e8c4db74c9 (
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
|
# shellcheck disable=SC2034 # unused var
# shellcheck disable=SC2154 # var referenced but not assigned
# shellcheck disable=SC2164 # cd might fail
# Contributor: Felix Pehla <29adc1fd92@gmail.com>
# Contributor: zapp-brannigan <fuerst.reinje@web.de>
# Contributor: jgottula <justin@jgottula.com>
# Maintainer: Štěpán Němec <stepnem@smrk.net>
pkgname=vdo
pkgver=8.3.2.1
pkgrel=1
pkgdesc='Userspace tools for managing VDO volumes'
arch=(x86_64)
url='https://github.com/dm-vdo/vdo'
license=(GPL-2.0-or-later)
depends=(bash glibc util-linux-libs zlib)
optdepends=('perl: for some of the example scripts')
source=("$pkgname-$pkgver.tar.gz::https://github.com/dm-vdo/$pkgname/archive/$pkgver.tar.gz")
sha256sums=('d778eb3bd69ff613f88117e17afc57602bde3381401b0f3be8dcf3efe6f2e1fe')
build() {
cd "$pkgname-$pkgver"
make EXTRA_LDFLAGS="-z relro -z now"
}
package() {
cd "$pkgname-$pkgver"
make DESTDIR="$pkgdir" \
mandir=/usr/share/man \
install
}
|