jobcore/thin-provisioning-tools/PKGBUILD.old

39 lines
1.1 KiB
Bash

#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=thin-provisioning-tools
pkgver=0.9.0
pkgrel=01
pkgdesc='Suite of tools for manipulating the metadata of the dm-thin device-mapper target'
arch=('x86_64')
url="https://github.com/jthornber/thin-provisioning-tools"
depends=('expat' 'gcc-libs' 'libaio') # 0.9.0
makedepends=('boost') # 0.9.0
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/jthornber/${pkgname}/archive/v${pkgver}.tar.gz")
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
autoconf
./configure --prefix=/usr
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" BINDIR="${pkgdir}"/usr/bin MANDIR=/usr/share/man install
}
#---- license gpg-key sha256sums ----
license=(GPL3)
sha256sums=(a2508d9933ed8a3f6c8d302280d838d416668a1d914a83c4bd0fb01eaf0676e8) # thin-provisioning-tools-0.9.0.tar.gz