43 lines
1.2 KiB
Bash
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.11
|
|
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=(a4262cc3559ff0f08b0485e3d6eaeb92aac1260080336ba6e08eae9cd162bae2) # thin-provisioning-tools-1.0.11.tar.gz
|
|
|
|
## cc432da17a8b356fdc6ce11319845593ace131c11258364c7615106ac7199aab thin-provisioning-tools-1.0.11-01-x86_64.pkg.tar.lz
|
|
|