9814d78e73
Use the device's architecture instead of noarch. Because the device packages should never be built for other architectures, even if all depends can be built for other arches as well. This simplifies package building as part of the new build infrastructure effort. pmbootstrap has also been changed to output this by default in aportgen.
28 lines
1 KiB
Text
28 lines
1 KiB
Text
# Reference: <https://postmarketos.org/devicepkg>
|
|
pkgname="device-semc-smultron"
|
|
pkgdesc="Xperia mini"
|
|
pkgver=0.1
|
|
pkgrel=2
|
|
url="https://postmarketos.org"
|
|
license="MIT"
|
|
arch="armhf"
|
|
options="!check !archcheck"
|
|
depends="postmarketos-base linux-semc-smultron mkbootimg mesa-dri-swrast msm-fb-refresher"
|
|
makedepends="devicepkg-dev"
|
|
source="deviceinfo fb.modes directfbrc"
|
|
|
|
build() {
|
|
devicepkg_build $startdir $pkgname
|
|
}
|
|
|
|
package() {
|
|
install -Dm644 "$srcdir"/fb.modes \
|
|
"$pkgdir"/etc/fb.modes
|
|
install -Dm644 "$srcdir"/directfbrc \
|
|
"$pkgdir"/etc/directfbrc
|
|
devicepkg_package $startdir $pkgname
|
|
}
|
|
|
|
sha512sums="1e2c93090e8014f92e47b521f7ed758c0565a1efe8682b2591239a1b9bf5f7eb567760494c07bc6db5d24c01c39cead5970450d8af0032a44dc430348326a434 deviceinfo
|
|
246889c74e09d2aeeaea62313f101727f07f9972fb15252cbf1d2e3c07aa850a85a25cc291407d8e560edb49e8bfbdb04eb09c412ed4c366f0b4bbcfbdcbcbb9 fb.modes
|
|
80c247fa375fe88b354d299fc3802e9717d3a0c93d6c768ee2a39f4bea8deb573bcdf64a4d22bc6e1c2eef0acf26ac36f41a5cc73dd748908d26de11bb26cf6f directfbrc"
|