mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-13 01:59:02 +08:00
25 lines
637 B
Bash
25 lines
637 B
Bash
|
pkgname=nilfs-utils
|
||
|
pkgver=2.2.6
|
||
|
pkgrel=1
|
||
|
pkgdesc="A log-structured file system supporting continuous snapshotting (userspace tools)"
|
||
|
arch=('x86_64')
|
||
|
url="http://nilfs.sourceforge.net/"
|
||
|
license=('GPL2' 'LGPL2.1')
|
||
|
depends=('util-linux')
|
||
|
source=(https://github.com/nilfs-dev/${pkgname}/archive/v${pkgver}.tar.gz)
|
||
|
md5sums=('614bd602caa83546acf0383160b94add')
|
||
|
|
||
|
build() {
|
||
|
cd $pkgname-$pkgver
|
||
|
./autogen.sh
|
||
|
|
||
|
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
|
||
|
}
|