core/thin-provisioning-tools/PKGBUILD

25 lines
671 B
Bash
Raw Normal View History

2014-09-27 12:12:32 +08:00
pkgname=thin-provisioning-tools
pkgver=0.4.1
pkgrel=1
pkgdesc="A suite of tools for manipulating the metadata of the dm-thin device-mapper target"
arch=('i686' 'x86_64')
url="https://github.com/jthornber/thin-provisioning-tools"
license=('GPL3')
depends=('expat' 'gcc-libs' 'libaio')
makedepends=('boost')
source=(https://github.com/jthornber/${pkgname}/archive/v${pkgver}.tar.gz)
sha1sums=('af7cbaf3c7cd8f15e618bd5136afb89077afceb7')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
autoconf
./configure --prefix=/usr
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" BINDIR="${pkgdir}"/usr/bin MANDIR=/usr/share/man install
}