pmaports/main/boot-deploy/APKBUILD
2024-02-12 15:42:21 -08:00

32 lines
1.1 KiB
Text

# Maintainer: Clayton Craft <clayton@craftyguy.net>
pkgname=boot-deploy
pkgver=0.13
pkgrel=0
pkgdesc="tool for finalizing and deploying boot related files"
url="https://gitlab.com/postmarketos/boot-deploy"
arch="noarch"
license="GPL-2.0-or-later"
source="
os-customization
https://gitlab.com/postmarketOS/boot-deploy/-/archive/$pkgver/boot-deploy-$pkgver.tar.gz
"
check() {
./test_boot_deploy_functions.sh
}
package() {
install -Dm755 boot-deploy "$pkgdir"/sbin/boot-deploy
install -Dm755 boot-deploy-functions.sh \
"$pkgdir"/usr/share/boot-deploy/boot-deploy-functions.sh
install -Dm644 "$srcdir"/os-customization \
"$pkgdir"/usr/share/boot-deploy/os-customization
touch boot-deploy-trigger
install -Dm644 boot-deploy-trigger \
"$pkgdir"/usr/share/mkinitfs-triggers/boot-deploy
}
sha512sums="
a243975b9850d9933e0f917f7eb38fc4a76ea658c3dcc56f035f60ee6c62d6740c1107143b8210bdc0231d4c9b6b2003e458120985604eb09649322d359ae89f os-customization
deb38fe59084a68f17babec65d7fb3f9602cf47806d64ce9875208c590f82ecfa4578b7b24972a14ba1d7bb0678d210d8e1c80a594fb70d89e34816879f0f733 boot-deploy-0.13.tar.gz
"