36 lines
992 B
Text
36 lines
992 B
Text
# Maintainer: Sven-Hendrik Haase <svenstaro@archlinux.org>
|
|
# Contributor: Thomas Weißschuh <thomas t-8ch de>
|
|
pkgname=libnbd
|
|
pkgver=1.18.0
|
|
pkgrel=1
|
|
pkgdesc="NBD client library in userspace"
|
|
arch=('x86_64')
|
|
url="https://gitlab.com/nbdkit/libnbd"
|
|
license=('LGPL')
|
|
makedepends=('perl')
|
|
validpgpkeys=('F7774FB1AD074A7E8C8767EA91738F73E1B768A0')
|
|
_dldir="${pkgver%.*}"
|
|
source=(
|
|
"http://download.libguestfs.org/libnbd/${_dldir}-stable/libnbd-${pkgver}.tar.gz"
|
|
"http://download.libguestfs.org/libnbd/${_dldir}-stable/libnbd-${pkgver}.tar.gz.sig"
|
|
)
|
|
sha256sums=('b2b272777d9e088b61a2772f33d25010a09610e671c5cdd89ed695e00cbc919f'
|
|
'SKIP')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
autoreconf -i
|
|
./configure --prefix=/usr --sbindir=/usr/bin
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
check() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
make check
|
|
}
|
|
3c43925ec01a259ee64a1db2411976a442a607c1a713cc06c4aa630fe06ceaa4 # PKGBUILD
|