2020-01-10 13:32:44 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
# Contributor: Peter Mann <pm@xdd.sk>
|
2018-01-29 20:52:20 +00:00
|
|
|
pkgname="device-asus-t00f"
|
|
|
|
pkgdesc="Asus Zenfone 5"
|
|
|
|
pkgver=0.1
|
2020-01-10 13:32:44 +00:00
|
|
|
pkgrel=5
|
2018-01-29 20:52:20 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
2018-11-07 06:45:58 +00:00
|
|
|
arch="x86"
|
|
|
|
options="!check !archcheck"
|
2018-02-25 18:40:54 +00:00
|
|
|
depends="postmarketos-base linux-asus-t00f mkbootimg"
|
2018-01-29 20:52:20 +00:00
|
|
|
makedepends="devicepkg-dev"
|
|
|
|
subpackages="$pkgname-x11"
|
|
|
|
source="
|
|
|
|
deviceinfo
|
|
|
|
xorg.conf
|
|
|
|
"
|
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
install -Dm644 "$srcdir"/deviceinfo \
|
|
|
|
"$pkgdir"/etc/deviceinfo
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
x11() {
|
|
|
|
install_if="$pkgname xorg-server"
|
|
|
|
depends="
|
|
|
|
libinput
|
|
|
|
xf86-input-libinput
|
|
|
|
xf86-video-fbdev"
|
|
|
|
install -Dm644 "$srcdir"/xorg.conf \
|
|
|
|
"$subpkgdir"/etc/X11/xorg.conf.d/10-t00f.conf
|
|
|
|
}
|
|
|
|
|
2018-12-25 19:25:32 +00:00
|
|
|
sha512sums="86f148f85fabc042533e6c697dea7a83c3da2011b0e7e97cbf86f396500f003344973bbc97b61049b676889d209a3fa3e470bc3e3dd3fcc15e698e62e16a7b06 deviceinfo
|
2018-01-29 20:52:20 +00:00
|
|
|
2511fa519813061531757996fbbbb9eecae1a136d2e13149fd7afe04d19982c7eaa5ced8df57860bb816186f206915fcbd4a9e34fdf92b2c6efe3320a223c328 xorg.conf"
|