mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 03:05:48 +03:00
36 lines
1.2 KiB
Text
36 lines
1.2 KiB
Text
# Maintainer: Dekedro <dekedro@tankers.xyz>
|
|
pkgname=linux-apfs-rw-src
|
|
_modname=linux-apfs-rw
|
|
pkgver=0.3.0
|
|
pkgrel=0
|
|
pkgdesc="APFS module for linux, with experimental write support (sources, AKMS)"
|
|
url="https://github.com/linux-apfs/linux-apfs-rw"
|
|
arch="noarch"
|
|
license="GPL-2.0-only"
|
|
options="!check" # no tests
|
|
source="$_modname-$pkgver.tar.gz::https://github.com/linux-apfs/linux-apfs-rw/archive/refs/tags/v$pkgver.tar.gz
|
|
modules-load.conf"
|
|
builddir="$srcdir/$_modname-$pkgver"
|
|
|
|
prepare() {
|
|
default_prepare
|
|
|
|
cat > AKMBUILD <<- EOF
|
|
modname=$_modname
|
|
modver=$pkgver-r$pkgrel
|
|
built_modules='apfs.ko'
|
|
EOF
|
|
}
|
|
|
|
package() {
|
|
install -Dm644 -t "$pkgdir/usr/src/$_modname-$pkgver" -- *.c *.h \
|
|
Makefile AKMBUILD
|
|
cp -a lzfse "$pkgdir/usr/src/$_modname-$pkgver/"
|
|
install -Dm644 "$srcdir"/modules-load.conf \
|
|
"$pkgdir"/usr/lib/modules-load.d/$_modname.conf
|
|
}
|
|
|
|
sha512sums="
|
|
6d45db8157852110a1cdf04e1b3aa56d8e9d4d2570a87b7044c18f56de93029da741b7ab87e9e1cd78b349841749c246e1a3c9346cdf6b729a3db23c3b92ee5d linux-apfs-rw-0.3.0.tar.gz
|
|
d49b16b7d824cf9fa21461723827791b50035f521046718d1bbbf4ea3b60ecd12822e8e7adbb3dab9f946bfcd04217810c1358d7e194199e84fc6339cc1568a8 modules-load.conf
|
|
"
|