#!/usr/bin/bash # JOBoRun : Jwm OpenBox Obarun RUNit # Maintainer : Joe Bo Run # PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname" # Website : https://pozol.eu #-----------------------------------------| DESCRIPTION |--------------------------------------- pkgname=thin-provisioning-tools pkgver=1.0.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 depends=('gcc-libs') makedepends=('cargo') source=("${pkgname}-${pkgver}.tar.gz::https://github.com/jthornber/${pkgname}/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 } #---- license gpg-key sha256sums ---- license=(GPL3) sha256sums=(8a45e5a0feba2d4d52b0ce8138acd87440740d5e78e4a59e3fd453d5af7520c6) # v1.0.0.tar.gz