Commit 8ee62d84 authored by Leo's avatar Leo Committed by Francesco Colista

main/bcache-tools: modernize, fix license

parent 5e1d9ad7
# Maintainer: # Maintainer:
pkgname=bcache-tools pkgname=bcache-tools
pkgver=1.0.8 pkgver=1.0.8
pkgrel=1 pkgrel=2
pkgdesc="tools for managing bcache" pkgdesc="tools for managing bcache"
url="" url=""
arch="all" arch="all"
license="GPL" license="GPL-2.0-only"
depends="" makedepends="eudev-dev util-linux-dev linux-headers coreutils"
makedepends="$depends_dev eudev-dev util-linux-dev linux-headers coreutils"
subpackages="$pkgname-doc" subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::$pkgver.tar.gz source="$pkgname-$pkgver.tar.gz::$pkgver.tar.gz
gcc5.patch gcc5.patch
" "
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
build() { build() {
cd "$_builddir" cd "$builddir"
make || return 1 make
} }
package() { package() {
cd "$_builddir"
mkdir -p "$pkgdir"/usr/sbin mkdir -p "$pkgdir"/usr/sbin
mkdir -p "$pkgdir"/usr/share/man/man8 mkdir -p "$pkgdir"/usr/share/man/man8
mkdir -p "$pkgdir"/lib/udev/rules.d mkdir -p "$pkgdir"/lib/udev/rules.d
make DESTDIR="$pkgdir" install || return 1 make DESTDIR="$pkgdir" install
} }
md5sums="d1632a7c37214e0aa38f3cf95624fa46 bcache-tools-1.0.8.tar.gz md5sums="d1632a7c37214e0aa38f3cf95624fa46 bcache-tools-1.0.8.tar.gz
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment