archrelease: copy trunk to staging-x86_64
[arch-packages.git] / thin-provisioning-tools / trunk / PKGBUILD
blob7ca60283fac7e169f432f079e482e52015e56933
1 # Maintainer: Eric BĂ©langer <eric@archlinux.org>
2 # Contributor: Jason Hall <cakersq@gmail.com>
4 pkgname=thin-provisioning-tools
5 pkgver=1.0.4
6 pkgrel=1
7 pkgdesc='Suite of tools for manipulating the metadata of the dm-thin device-mapper target'
8 arch=('x86_64')
9 url='https://github.com/jthornber/thin-provisioning-tools'
10 license=('GPL3')
11 depends=('gcc-libs')
12 makedepends=('cargo')
13 source=("${pkgname}-${pkgver}.tar.gz::https://github.com/jthornber/${pkgname}/archive/v${pkgver}.tar.gz")
14 sha256sums=('a973786fb9cb49d30be6fb8178d6739bc23609d4114ab601f0983ecdbf349abf')
16 build() {
17   cd "${srcdir}/${pkgname}-${pkgver}"
19   cargo build --release
22 package() {
23   cd "${srcdir}/${pkgname}-${pkgver}"
25   make \
26     DESTDIR="${pkgdir}"/usr \
27     BINDIR="${pkgdir}"/usr/bin \
28     DATADIR="${pkgdir}"/usr/share \
29     install