2017-12-14 21:17:18 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
2017-06-29 20:04:16 +00:00
|
|
|
pkgname=device-samsung-i9070
|
|
|
|
pkgver=1
|
2018-01-06 14:08:10 +00:00
|
|
|
pkgrel=18
|
2017-06-29 20:04:16 +00:00
|
|
|
pkgdesc="Samsung Galaxy S Advance"
|
|
|
|
url="https://github.com/postmarketOS"
|
|
|
|
arch="noarch"
|
|
|
|
license="MIT"
|
2018-01-06 14:08:10 +00:00
|
|
|
depends="linux-samsung-i9070 firmware-samsung-i9070 mesa-dri-swrast"
|
2017-12-14 21:17:18 +00:00
|
|
|
makedepends="devicepkg-dev"
|
2017-06-29 20:04:16 +00:00
|
|
|
install=""
|
2018-01-06 15:03:03 +00:00
|
|
|
subpackages=""
|
2017-07-08 05:30:00 +00:00
|
|
|
source="
|
|
|
|
deviceinfo
|
|
|
|
initfs-hook.sh
|
|
|
|
modules-load.conf
|
|
|
|
"
|
2017-06-29 20:04:16 +00:00
|
|
|
options="!check"
|
|
|
|
|
2017-12-14 21:17:18 +00:00
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
2017-06-29 20:04:16 +00:00
|
|
|
package() {
|
2017-12-14 21:17:18 +00:00
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
|
|
|
|
install -Dm644 "$srcdir"/initfs-hook.sh \
|
2017-07-08 05:30:00 +00:00
|
|
|
"$pkgdir"/etc/postmarketos-mkinitfs/hooks/00-${pkgname}.sh
|
2017-12-14 21:17:18 +00:00
|
|
|
install -Dm644 "$srcdir"/modules-load.conf \
|
2017-07-08 05:30:00 +00:00
|
|
|
"$pkgdir"/etc/modules-load.d/00-${pkgname}.conf
|
2017-06-29 20:04:16 +00:00
|
|
|
}
|
|
|
|
|
2017-12-21 22:12:52 +00:00
|
|
|
sha512sums="fe7b2af2abd441775705e5d228eab7904194bb3ef6af08a69593849e3380e6c9fc4905b3eac52e851aff0f2364a4425a79da8e6e48416b7a630754a525df3b9e deviceinfo
|
2017-06-29 20:04:16 +00:00
|
|
|
098187f6ab56d2542f98f1b5fbcf493431f665a4300db05e859357366e39b02a3d508bfd94c1d1bd7c669261e7ef0d4e1aef1fdbb15541fe34f3f48a6caa247f initfs-hook.sh
|
2017-07-08 05:30:00 +00:00
|
|
|
61e8becbf6fa7c1c6c42e481083f5981ae7af33a48cbc53e817d8ac2c6a8e4f67a54b32ae3b8f5f25f7b412165a849dc93a629110dc47b0d16927bf2a12eb7e1 modules-load.conf"
|