pmaports/device/testing/device-samsung-santos10wifi/APKBUILD
2024-04-22 15:45:12 -07:00

46 lines
1.1 KiB
Text

# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-samsung-santos10wifi
pkgdesc="Samsung Galaxy Tab 3 10.1 Wi-Fi"
pkgver=1
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="x86"
options="!check !archcheck"
depends="postmarketos-base linux-samsung-santos10wifi mkbootimg"
makedepends="devicepkg-dev"
subpackages="
$pkgname-x11
$pkgname-nonfree-firmware:nonfree_firmware
"
source="deviceinfo
xorg.conf"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
}
x11() {
install_if="$pkgname xorg-server"
depends="
xf86-input-libinput
xf86-video-fbdev"
install -Dm644 "$srcdir"/xorg.conf \
"$subpkgdir"/etc/X11/xorg.conf.d/10-santos10wifi.conf
}
nonfree_firmware() {
pkgdesc="Wi-Fi firmware"
depends="firmware-samsung-santos10wifi"
mkdir "$subpkgdir"
}
sha512sums="
4ec6257f7221528359510c6468773352215d50a8e1b0b79560a24391a686ffa766f69b09d6550898d9e4708d79d3df6f50f3be7d62ff2778d48aa76ad00e5b8d deviceinfo
2511fa519813061531757996fbbbb9eecae1a136d2e13149fd7afe04d19982c7eaa5ced8df57860bb816186f206915fcbd4a9e34fdf92b2c6efe3320a223c328 xorg.conf
"