[arch-commits] Commit in compsize/repos (staging-x86_64 staging-x86_64/PKGBUILD)

Felix Yan felixonmars at archlinux.org
Tue May 19 07:57:22 UTC 2020


    Date: Tuesday, May 19, 2020 @ 07:57:21
  Author: felixonmars
Revision: 386084

archrelease: copy trunk to staging-x86_64

Added:
  compsize/repos/staging-x86_64/
  compsize/repos/staging-x86_64/PKGBUILD
    (from rev 386082, compsize/trunk/PKGBUILD)

----------+
 PKGBUILD |   30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

Copied: compsize/repos/staging-x86_64/PKGBUILD (from rev 386082, compsize/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2020-05-19 07:57:21 UTC (rev 386084)
@@ -0,0 +1,30 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=compsize
+pkgver=1.3
+pkgrel=2
+pkgdesc="Calculate compression ratio of a set of files on Btrfs"
+arch=(x86_64)
+url="https://github.com/kilobyte/compsize"
+license=(GPL)
+depends=(glibc)
+makedepends=(btrfs-progs git)
+_commit=a7bf82296193f785757f0cb30627dce30462f085  # tags/v1.3^0
+source=("git+$url#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/^v//;s/-/+/g'
+}
+
+build() {
+  cd $pkgname
+  make
+}
+
+package() {
+  cd $pkgname
+  install -d "$pkgdir/usr/share/man/man8"
+  make install PREFIX="$pkgdir"
+}


More information about the arch-commits mailing list