pmaports/main/devicepkg-utils/APKBUILD
Clayton Craft ce67c46bd4
main/devicepkg-utils: initialize SOURCE_DEVICEINFO_ROOT
Otherwise things that `set -u` (like boot-deploy) fail

[ci:skip-build]: already built successfully in CI

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7028>
2025-09-10 09:18:57 -07:00

25 lines
800 B
Text

pkgname=devicepkg-utils
pkgver=0.3.1
pkgrel=0
pkgdesc="Utilities for interacting with device packages"
url="https://postmarketos.org"
arch="noarch"
license="MIT"
makedepends="postmarketos-mvcfg"
install="$pkgname.pre-upgrade"
source="
etc-deviceinfo
source_deviceinfo
"
options="!check"
package() {
install -Dm644 "$srcdir"/source_deviceinfo -t "$pkgdir"/usr/share/misc
install -Dm644 "$srcdir"/etc-deviceinfo "$pkgdir"/etc/deviceinfo
postmarketos-mvcfg-package "$pkgdir" "$pkgname"
}
sha512sums="
ef2181d7072b4ef62c11d3f50677fcd455e50cf89a3110e67fcaa6058ea695f101ded48b1442758494e3d23a97cdd93df6669656f329037020ba715af4341b55 etc-deviceinfo
9e0a27f8f3e236817e3f5d5997bc376dc4d95508ecf5f812c48a29eaf7c9a21d46a2c78a65be98d60a12576b476e27314cdd3515a645b91706a85f929e83c053 source_deviceinfo
"