main/devicepkg-utils: new aport (MR 4129)

This commit is contained in:
Newbyte 2023-06-01 10:35:53 +02:00
parent be819d7474
commit d7e56cc7c0
No known key found for this signature in database
GPG key ID: 990600ED1DB95E02
2 changed files with 19 additions and 0 deletions

View file

@ -0,0 +1,16 @@
pkgname=devicepkg-utils
pkgver=0.1.0
pkgrel=0
pkgdesc="Utilities for interacting with device packages"
url="https://postmarketos.org"
arch="noarch"
license="MIT"
source="source_deviceinfo"
options="!check"
package() {
install -Dm644 "$srcdir"/source_deviceinfo -t "$pkgdir"/usr/share/misc
}
sha512sums="
c80da33257e6251d46c71d6188b31ab564200269f7b9e4583a117aa14a5a0f2b57e9c5d0e0d7acdbb69d064313b06283d99fdb7417abaeaea36ccde1631d569e source_deviceinfo
"

View file

@ -0,0 +1,3 @@
# This script must be sourced (not executed) to work properly
# shellcheck disable=SC1091
. /etc/deviceinfo