37 lines
1.2 KiB
Text
37 lines
1.2 KiB
Text
# Reference: <https://postmarketos.org/devicepkg>
|
|
pkgname=device-samsung-i747m
|
|
pkgdesc="Samsung Galaxy SIII (USA/Canada)"
|
|
pkgver=1
|
|
pkgrel=0
|
|
url="https://postmarketos.org"
|
|
license="MIT"
|
|
arch="armhf"
|
|
options="!check !archcheck"
|
|
depends="postmarketos-base linux-samsung-i747m mkbootimg"
|
|
makedepends="devicepkg-dev"
|
|
source="deviceinfo 90-android-touch-dev.rules fb.modes"
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
|
|
|
build() {
|
|
devicepkg_build $startdir $pkgname
|
|
}
|
|
|
|
package() {
|
|
devicepkg_package $startdir $pkgname
|
|
install -Dm644 "$srcdir"/90-android-touch-dev.rules \
|
|
"$pkgdir"/etc/udev/rules.d/90-android-touch-dev.rules
|
|
install -Dm644 "$srcdir"/fb.modes \
|
|
"$pkgdir"/etc/fb.modes
|
|
}
|
|
|
|
nonfree_firmware() {
|
|
pkgdesc="Wifi firmware"
|
|
depends="firmware-samsung-i747m"
|
|
mkdir "$subpkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
99c3fc2632964c99db793344a618d64d8ba6201c2e4d936331b45b3f1b5e9e8542f3ef9024aa596f789e96b5c5be06a11bfd954c2436b9314d8177eb4348ddae deviceinfo
|
|
1ef4aa9206e6aa61cef80dd4fd4dc2d834e3582e40978d2da8a768964bbaa854a4068fb263e4dcc3cb1a745d42ebf5d457084801dd28fa2de50706ed5a5a9c7c 90-android-touch-dev.rules
|
|
bd5aba648930678aea38d2a67e584c94f5ab53d235c8f6ce785bc7e31db00e1cdf08fb84fd3fe78bd7b409a4120b2c7beadf77e028ec8580d4df48248a2c414f fb.modes
|
|
"
|