jobcore/thin-provisioning-tools/PKGBUILD

43 lines
1.2 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=1.0.12
pkgrel=01
pkgdesc='Suite of tools for manipulating the metadata of the dm-thin device-mapper target'
url="https://github.com/jthornber/thin-provisioning-tools"
depends=('gcc-libs')
makedepends=('cargo')
source=("${pkgname}-${pkgver}.tar.gz::$url/archive/v${pkgver}.tar.gz")
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
cargo build --release
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make \
DESTDIR="${pkgdir}"/usr \
BINDIR="${pkgdir}"/usr/bin \
DATADIR="${pkgdir}"/usr/share \
install
}
#---- arch license gpg-key & sha256sums ----
arch=(x86_64)
license=(GPL3)
sha256sums=(55f3423c22d3a5716be88d0ae9155c95d8145cb3ee65f89ff96d2d6a9ede6ad5) # thin-provisioning-tools-1.0.12.tar.gz
## f30fd9aac5dcf9a83871aa2b21da97199628e8ae8bad77d7d159b7f89d8dbbd2 thin-provisioning-tools-1.0.12-01-x86_64.pkg.tar.lz