aboutsummaryrefslogtreecommitdiffstats
path: root/community/btrfs-compsize/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/btrfs-compsize/APKBUILD')
-rw-r--r--community/btrfs-compsize/APKBUILD11
1 files changed, 5 insertions, 6 deletions
diff --git a/community/btrfs-compsize/APKBUILD b/community/btrfs-compsize/APKBUILD
index 3ad323630b..e7c60009dd 100644
--- a/community/btrfs-compsize/APKBUILD
+++ b/community/btrfs-compsize/APKBUILD
@@ -1,8 +1,7 @@
# 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"