2020-01-10 14:30:24 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
# Contributor: Lionel Duboeuf
|
|
|
|
# Contributor: Nikita Ukhrenkov <thekit@disroot.org>
|
2018-03-28 21:10:12 +00:00
|
|
|
pkgname="device-oneplus-oneplus2"
|
|
|
|
pkgdesc="OnePlus 2"
|
|
|
|
pkgver=0.1
|
2020-03-07 18:58:32 +00:00
|
|
|
pkgrel=5
|
2018-03-28 21:10:12 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
2018-11-07 06:45:58 +00:00
|
|
|
arch="aarch64"
|
|
|
|
options="!check !archcheck"
|
2018-03-28 21:10:12 +00:00
|
|
|
depends="postmarketos-base linux-oneplus-oneplus2 mkbootimg mesa-dri-swrast msm-fb-refresher"
|
|
|
|
makedepends="devicepkg-dev"
|
|
|
|
source="deviceinfo
|
|
|
|
initfs-hook.sh
|
|
|
|
"
|
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
install -Dm644 "$srcdir"/deviceinfo \
|
|
|
|
"$pkgdir"/etc/deviceinfo
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
2020-03-07 16:10:22 +00:00
|
|
|
sha512sums="abc3586fc1c038b3e717b7cf818c0cd3645e1acb76d48adf0bdbea0f71824fea32f9da73e38c2090b0dd85ce30d7f2f505796ef2a9f584db74cd9f6365e9dee4 deviceinfo
|
2018-03-28 21:10:12 +00:00
|
|
|
abf299888a7a2eafc483a0077b0a60ff04a9c85e54c09758896a15d5d4fe0359765d078797d6791acd0ca5ede2f46dac2674fadbbbf0905d81e9a01e97d8b470 initfs-hook.sh"
|