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.13
|
|
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=(48444caefd00c23f5240dd01f8b2a51cfded952f078b2a5318929137e00fbd3f) # thin-provisioning-tools-1.0.12.tar.gz
|
|
|
|
## 3071952c56c2f50c69d48b60cb9499b456efeeb10980571f6046418aee1f8eab thin-provisioning-tools-1.0.13-01-x86_64.pkg.tar.lz
|
|
|