Commit ca7e529a authored by Ariadne Conill's avatar Ariadne Conill

main/bcache-tools: new aport

parent 99cbabfe
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=bcache-tools
pkgver=0.9_git20140510
pkgrel=0
pkgdesc="tools for managing bcache"
url="http://bcache.evilpiepirate.org/"
arch="all"
license="GPL"
depends=""
depends_dev=""
makedepends="$depends_dev udev-dev util-linux-dev"
install=""
subpackages="$pkgname-doc"
source="http://turtle.dereferenced.org/~kaniini/bcache-tools-$pkgver.tar.gz"
_builddir="$srcdir"/bcache-tools
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
make || return 1
}
package() {
cd "$_builddir"
mkdir -p "$pkgdir"/usr/sbin
mkdir -p "$pkgdir"/usr/share/man/man8
mkdir -p "$pkgdir"/lib/udev/rules.d
make DESTDIR="$pkgdir" install || return 1
rm -f "$pkgdir"/usr/lib/*.la
}
md5sums="da36d09635cbe1cf3eb48b3d202192b3 bcache-tools-0.9_git20140510.tar.gz"
sha256sums="50e33c5d89828b991f67dae0fd8c1948b657ad045388b7422248b0e3636065d6 bcache-tools-0.9_git20140510.tar.gz"
sha512sums="2dd5b4c0c38bac444aa37e87def5076bfb4283a8057f35f1e6c08e766c6a240fd2013221196ff8d58ac1934754b4e57ddb320d61af8838a74dfed39eb89dcd73 bcache-tools-0.9_git20140510.tar.gz"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment