jobcore/nilfs-utils/PKGBUILD

40 lines
1.2 KiB
Bash

#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=nilfs-utils
pkgver=2.2.10
pkgrel=01
pkgdesc="A log-structured file system supporting continuous snapshotting (userspace utils)"
url="http://nilfs.sourceforge.net/"
backup=('etc/nilfs_cleanerd.conf')
depends=('util-linux')
source=(http://nilfs.sourceforge.net/download/$pkgname-$pkgver.tar.bz2)
build() {
cd $pkgname-$pkgver
sed -i -e 's#root_sbindir=/sbin#root_sbindir=/usr/bin#' configure
./configure \
--sbindir=/usr/bin \
--with-libmount
make
}
package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" sbindir=/usr/bin install LDCONFIG=/bin/true
}
#---- arch license gpg-key & sha256sums ----
arch=(x86_64)
license=('GPL2' 'LGPL2.1')
sha256sums=(969355f6990a73e104e329386f26e82c4e5e4faf5f7eb1b9eed513659bdf31eb) # nilfs-utils-2.2.10.tar.bz2
## ef420bccf62e02785fc214b283156f4ccc1c9aafbb1691af1b2e515e939019e0 nilfs-utils-2.2.10-01-x86_64.pkg.tar.lz