summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b793dd5d65616a03cc3f6580343ca225ea83adb5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Maintainer: Jan Houben <jan@nexttrex.de>
# Contributor: Jesus Alvarez <jeezusjr at gmail dot com>
#
# This PKGBUILD was generated by the archzfs build scripts located at
#
# http://github.com/archzfs/archzfs
#
pkgname="spl-utils-common"

pkgver=0.7.11
pkgrel=2
pkgdesc="Solaris Porting Layer kernel module support files."
arch=("x86_64")
url="http://zfsonlinux.org/"
source=("https://github.com/zfsonlinux/zfs/releases/download/zfs-${pkgver}/spl-${pkgver}.tar.gz")
sha256sums=("d6ddd225e7f464007c960f10134c8a48fb0de525f75ad05d5ddf36685b1ced67")
groups=("archzfs-linux")
license=("GPL")
provides=("spl-utils")
makedepends=()
conflicts=("spl-utils")
replaces=("spl-utils-linux", "spl-utils-linux-lts")

build() {
    cd "${srcdir}/spl-${pkgver}"
    ./autogen.sh
    ./configure --prefix=/usr --libdir=/usr/lib --sbindir=/usr/bin --with-config=user
    make
}

package() {
    cd "${srcdir}/spl-${pkgver}"
    make DESTDIR="${pkgdir}" install
}