Package Details: btrfsmaintenance 0.2-1

Git Clone URL: https://aur.archlinux.org/btrfsmaintenance.git (read-only)
Package Base: btrfsmaintenance
Description: btrfs maintenance scripts
Upstream URL: https://github.com/kdave/btrfsmaintenance
Licenses: GPL2
Conflicts: btrfsmaintenance-git
Submitter: ImNtReal
Maintainer: sea_striker
Last Packager: ImNtReal
Votes: 2
Popularity: 0.000191
First Submitted: 2016-05-26 14:10
Last Updated: 2016-05-26 14:26

Latest Comments

Andrea993 commented on 2017-06-27 16:44

Miss some file with bobpaul's pkgbuild
sudo ./btrfs-balance.sh
./btrfs-balance.sh: line 23: /usr/share/btrfsmaintenance/btrfsmaintenance-functions: No such file or directory

bobpaul commented on 2017-05-28 19:52

Here's an updated pkgbuild:

pkgname=btrfsmaintenance
pkgver=0.3.1
pkgrel=1
pkgdesc='btrfs maintenance scripts'
arch=('any')
url='https://github.com/kdave/btrfsmaintenance'
license=('GPL2')
depends=('bash')
conflicts=("${pkgname}-git")
source=("https://github.com/kdave/btrfsmaintenance/archive/v${pkgver}.tar.gz")
sha256sums=('e2f6a6cd433a38407c580630e3f4a0c4747390f0e129d5c9d0f91ec461cfb855')


package() {
cd "${srcdir}/${pkgname}-${pkgver}"

install -dm 0755 "${pkgdir}/usr/share/btrfsmaintenance"
install -dm 0755 "${pkgdir}/usr/lib/systemd/system"
install -dm 0755 "${pkgdir}/etc/default"

install -m 0755 btrfs-balance.sh "${pkgdir}/usr/share/btrfsmaintenance/btrfs-balance.sh"
install -m 0755 btrfs-defrag.sh "${pkgdir}/usr/share/btrfsmaintenance/btrfs-defrag.sh"
install -m 0755 btrfsmaintenance-refresh-cron.sh "${pkgdir}/usr/share/btrfsmaintenance/btrfsmaintenance-refresh-cron.sh"
install -m 0755 btrfs-scrub.sh "${pkgdir}/usr/share/btrfsmaintenance/btrfs-scrub.sh"
install -m 0755 btrfs-trim.sh "${pkgdir}/usr/share/btrfsmaintenance/btrfs-trim.sh"
#and any other *.sh
install -m 0755 sysconfig.btrfsmaintenance "${pkgdir}/etc/default/btrfsmaintenance"
install -m 0644 README.md "${pkgdir}/usr/share/btrfsmaintenance/README.md"
install -m 0644 btrfsmaintenance-refresh.service "${pkgdir}/usr/lib/systemd/system/btrfsmaintenance-refresh.service"
}

longranger commented on 2016-07-16 09:04

This does not install a copy of the sysconfig.btrfsmaintenance file, which seems necessary for use.