# Maintainer: Dekedro pkgname=linux-apfs-rw-src _modname=linux-apfs-rw pkgver=0.3.3 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=" 1a9abdeefd908d06d8731499327723393c5678255f8b4f17228d0b279b248a1d5df2abc4247dfef5d067af82eb16f0fe8c8d9bdfdba5a86b4c91bc8d0425cb67 linux-apfs-rw-0.3.3.tar.gz d49b16b7d824cf9fa21461723827791b50035f521046718d1bbbf4ea3b60ecd12822e8e7adbb3dab9f946bfcd04217810c1358d7e194199e84fc6339cc1568a8 modules-load.conf "