pmaports/device/community/device-samsung-espresso3g/APKBUILD

40 lines
1.1 KiB
Text

# Maintainer: Mighty17 <mightymb17@gmail.com>
# Co-Maintainer: Antoni Aloy <aaloytorrens@gmail.com>
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-samsung-espresso3g
pkgdesc="Samsung Galaxy Tab 2 3g (7.0 inch)"
pkgver=0.1
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="armv7"
options="!check !archcheck"
depends="postmarketos-base linux-samsung-espresso3g mkbootimg"
makedepends="devicepkg-dev"
source="deviceinfo phoc.ini"
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
}
nonfree_firmware() {
pkgdesc="Wifi firmware"
depends="firmware-samsung-espresso3g"
mkdir "$subpkgdir"
}
phosh() {
install_if="$pkgname postmarketos-ui-phosh"
install -Dm644 "$srcdir"/phosh.ini \
"$subpkgdir"/usr/share/phosh/phoc.ini
}
sha512sums="
9fa446ae99b5d22bb211cb455ef78d0567463650e0a85beb9125f4bc56531b74d1690304770afa7886f26852b81f668d36add71fa3f7b840d0650e8b5483257a deviceinfo
1754d066d34919e25cf632a0a58b4c0f7a5cea46ea7c3534175cca3c0afaffd7e3128d0191a9db44ef47ab1a4f702f287bbc6160b131d924ebd8c4450e62d39c phoc.ini
"