mirror of https://github.com/archzfs/archzfs
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
1.3 KiB
46 lines
1.3 KiB
# Maintainer: Jesus Alvarez <jeezusjr at gmail dot com>
|
|
# Contributor: Kyle Fuller <inbox at kylefuller dot co dot uk>
|
|
|
|
pkgname="spl-utils"
|
|
#
|
|
# This script doesn't use bash variables for the version number because AUR
|
|
# doesn't properly parse bash variables. We use a custom build script to
|
|
# automatically change the appropriate variables before building in a clean
|
|
# chroot environment (using systemd-ndspawn).
|
|
#
|
|
# The build script can be found at
|
|
# https://github.com/demizer/archzfs/blob/master/build.sh
|
|
#
|
|
pkgver=0.6.2_3.12.9
|
|
pkgrel=2
|
|
pkgdesc="Solaris Porting Layer kernel module support files."
|
|
arch=("i686" "x86_64")
|
|
url="http://zfsonlinux.org/"
|
|
source=(http://archive.zfsonlinux.org/downloads/zfsonlinux/spl/spl-0.6.2.tar.gz
|
|
shrinker_api_fix.patch
|
|
spl-utils.hostid)
|
|
groups=("archzfs")
|
|
md5sums=('f00535bf89a7fde0e08f44a14a1f1e03'
|
|
'4d30dbda61995e77c5ca976abb80bad6'
|
|
'a54f0041a9e15b050f25c463f1db7449')
|
|
license=("GPL")
|
|
|
|
prepare() {
|
|
cd "$srcdir/spl-0.6.2"
|
|
patch -Np1 < ../shrinker_api_fix.patch
|
|
}
|
|
|
|
build() {
|
|
cd "$srcdir/spl-0.6.2"
|
|
./autogen.sh
|
|
./configure --prefix=/usr --libdir=/usr/lib --sbindir=/usr/bin \
|
|
--with-config=user
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$srcdir/spl-0.6.2"
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
install -D -m644 "$srcdir"/spl-utils.hostid "$pkgdir"/etc/hostid
|
|
}
|
|
|