Commit eb340d72 authored by Michał Polański's avatar Michał Polański Committed by Leo
Browse files

community/btrfs-compsize: upgrade to 1.4

parent 130f219d
# Contributor: Michał Polański <michal@polanski.me>
# Maintainer: Michał Polański <michal@polanski.me>
pkgname=btrfs-compsize
_pkgname=compsize
pkgver=1.3
pkgver=1.4
pkgrel=0
pkgdesc="Calculate compression ratio of a set of files on Btrfs"
url="https://github.com/kilobyte/compsize"
......@@ -11,8 +10,8 @@ license="GPL-2.0-or-later"
makedepends="btrfs-progs-dev"
options="!check" # no test suite
subpackages="$pkgname-doc"
source="$_pkgname-$pkgver.tar.gz::https://github.com/kilobyte/compsize/archive/v$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
source="https://github.com/kilobyte/compsize/archive/v$pkgver/compsize-$pkgver.tar.gz"
builddir="$srcdir/compsize-$pkgver"
build() {
make
......@@ -20,11 +19,11 @@ build() {
package() {
install -d "$pkgdir"/usr/share/man/man8
make PREFIX="$pkgdir" install
make PREFIX="$pkgdir"/usr install
# compsize requires root privileges
install -d "$pkgdir"/usr/sbin
mv "$pkgdir"/usr/bin/compsize "$pkgdir"/usr/sbin
}
sha512sums="411b92651fdc3d03deccbf38f72936fee95cf80c67d6368efbc0dafacfe9793815a23ef0d02f7feadf31391e415df3d90cd19fb3acc8cce94f37cb3e4eed623d compsize-1.3.tar.gz"
sha512sums="c07081721f87d8a59e724a62a0a6d6724434292e6bb3ffb71acd7c47e21727db8f02f4df296cb6094c0e80d3cd555018e492616747ce69055d21302a6617ca54 compsize-1.4.tar.gz"
Supports Markdown
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