diff options
author | Thomas Weißschuh | 2022-10-31 01:38:58 +0100 |
---|---|---|
committer | Thomas Weißschuh | 2022-10-31 01:40:18 +0100 |
commit | a28d0545461a4169c4128a730c34c68561789376 (patch) | |
tree | 55e4b909c013f477230de838eff49cbd4f98e7f4 | |
parent | 0efcbce6a9e271f2dc24eee00eb26a7193756809 (diff) | |
download | aur-a28d0545461a4169c4128a730c34c68561789376.tar.gz |
upgpkg: bcachefs-tools 2:23-1
upstream release
Add 'bcachefs-tools/' from commit '0efcbce6a9e271f2dc24eee00eb26a7193756809'
git-subtree-dir: bcachefs-tools
git-subtree-mainline: 7aaa84c1e4c972597e095f3e2e9acd277a995576
git-subtree-split: 0efcbce6a9e271f2dc24eee00eb26a7193756809
-rw-r--r-- | .SRCINFO | 27 | ||||
-rw-r--r-- | PKGBUILD | 47 |
2 files changed, 31 insertions, 43 deletions
@@ -1,20 +1,19 @@ pkgbase = bcachefs-tools - pkgdesc = Bcachefs filesystem utilities - pkgver = r263.38f2216 + pkgdesc = bcachefs filesystem utilities + pkgver = 23 pkgrel = 1 - url = http://bcachefs.org/ - arch = i686 + epoch = 2 + url = https://evilpiepirate.org/git/bcachefs-tools.git/ arch = x86_64 - license = unknown - makedepends = git - makedepends = libsodium - makedepends = liburcu - makedepends = libscrypt-git - optdepends = libscrypt: Currently broken with some makeflags - provides = bcachefs-tools - conflicts = bcachefs-tools - source = git+https://evilpiepirate.org/git/bcachefs-tools.git + license = GPL2 + checkdepends = python-pytest + depends = liburcu + depends = libaio + depends = util-linux-libs + depends = keyutils + depends = zstd + depends = libsodium + source = git+https://evilpiepirate.org/git/bcachefs-tools.git#tag=v23 sha256sums = SKIP pkgname = bcachefs-tools - @@ -1,40 +1,29 @@ -# Maintainer : Dan Beste <dan.ray.beste@gmail.com> +# Maintainer: Thomas Weißschuh <thomas t-8ch de> -pkgname='bcachefs-tools' -pkgver=r268.b1814f2 +pkgname=bcachefs-tools +epoch=2 +pkgver=23 pkgrel=1 -pkgdesc='Bcachefs filesystem utilities' -arch=('i686' 'x86_64') -url='http://bcachefs.org/' -license=('unknown') -makedepends=('git' 'libsodium' 'liburcu' 'libscrypt-git') -optdepends=('libscrypt: Currently broken with some makeflags') -provides=("${pkgname}") -conflicts=("${pkgname}") -source=('git+https://evilpiepirate.org/git/bcachefs-tools.git') +pkgdesc="bcachefs filesystem utilities" +arch=(x86_64) +url="https://evilpiepirate.org/git/bcachefs-tools.git/" +license=('GPL2') +depends=(liburcu libaio util-linux-libs keyutils zstd libsodium) +checkdepends=(python-pytest) +source=("git+https://evilpiepirate.org/git/bcachefs-tools.git#tag=v${pkgver}") sha256sums=('SKIP') -pkgver() { - cd "${pkgname}" - - printf "r%s.%s" \ - "$(git rev-list --count HEAD)" \ - "$(git rev-parse --short HEAD)" +prepare() { + cd "$pkgname" + sed -i -e 's|ROOT_SBINDIR=/sbin|ROOT_SBINDIR=$(PREFIX)/bin|' Makefile } build() { - cd "${pkgname}" - - make + cd "$pkgname" + make PREFIX=/usr $MAKEFLAGS } package() { - cd "${pkgname}" - - make \ - DESTDIR="${pkgdir}/usr" \ - ROOT_SBINDIR=/bin \ - install + cd "$pkgname" + make PREFIX=/usr $MAKEFLAGS DESTDIR="$pkgdir/" install } - -# vim: ts=2 sw=2 et: |