pmaports/modem/msm-cros-efs-loader/APKBUILD
Anton Bambura 0bbbd50adb
modem/msm-cros-efs-loader: update remote (MR 4559)
[ci:skip-build] already built successfully in CI
2023-11-19 10:35:44 -08:00

37 lines
1.3 KiB
Text

# Maintainer: Jenneron <jenneron@protonmail.com>
pkgname=msm-cros-efs-loader
pkgver=1.0.2
pkgrel=1
pkgdesc="EFS loader for Qualcomm-based Chrome OS devices"
url="https://gitlab.com/postmarketOS/msm-cros-efs-loader"
arch="aarch64"
license="GPL-3.0-or-later"
install="$pkgname.post-install"
_tag="v$pkgver"
source="$pkgname-$pkgver.tar.gz::$url/-/archive/$_tag/msm-cros-efs-loader-$_tag.tar.gz
$pkgname.initd
rmtfs.confd
"
options="!check !archcheck"
subpackages="$pkgname-rmtfs"
builddir="$srcdir/$pkgname-$_tag"
package() {
install -Dm755 "$srcdir/$pkgname.initd" "$pkgdir/etc/init.d/$pkgname"
install -Dm755 "$pkgname.sh" "$pkgdir/usr/sbin/$pkgname"
}
rmtfs() {
pkgdesc="RMTFS config for Chrome OS devices"
install_if="$pkgname=$pkgver-r$pkgrel rmtfs-openrc"
replaces="rmtfs-openrc"
install -Dm644 "$srcdir"/rmtfs.confd "$subpkgdir"/etc/conf.d/rmtfs
}
sha512sums="
1da390d9adddd5f9570ba05330626662e3eeb633ec1675469b2e09da454b3b2ecbf077aa4a723ad7c75ab5259fb51e2d0bc0595aca7a2b1f4bbaf10ffaec28cc msm-cros-efs-loader-1.0.2.tar.gz
a3e902e4dec0bdc7241ea98ef016c0a761f594ac8ee4c67348a4cd5c64de256c0e201b57d4979cf1c175315255a2e35cd2db7ef05c382444511e328834bed56e msm-cros-efs-loader.initd
c79a441d1234b53070c356eec0493fba1af502c61e0127fd8d892b7c880571642077a29bcd712a704fd82392125c5542b373119d5f71adb3439ea1f32c17f1c8 rmtfs.confd
"