# Archived: Maintainer unable to continue maintainership

# Reference: <https://postmarketos.org/devicepkg>
maintainer=""
pkgname=device-samsung-a5
pkgdesc="Samsung Galaxy A5 (2015)"
pkgver=16
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="
	firmware-qcom-adreno-a300
	firmware-samsung-a5-wcnss-nv
	linux-postmarketos-qcom-msm8916
	mkbootimg
	msm-firmware-loader
	postmarketos-base
	soc-qcom-msm8916
	soc-qcom-msm8916-rproc
	soc-samsung-msm8916-modem-workaround
	"
makedepends="devicepkg-dev"
# Backwards compatibility for old device package names + kernel variants
provides="
	device-samsung-a5lte=$pkgver-r$pkgrel
	device-samsung-a5ulte=$pkgver-r$pkgrel
	"
replaces="
	$pkgname-kernel-mainline
	$pkgname-kernel-mainline-modem
	device-samsung-a5lte
	device-samsung-a5lte-kernel-mainline
	device-samsung-a5lte-kernel-modem
	device-samsung-a5lte-nonfree-firmware
	device-samsung-a5ulte
	device-samsung-a5ulte-kernel-mainline
	device-samsung-a5ulte-kernel-modem
	device-samsung-a5ulte-nonfree-firmware
	"
source="deviceinfo kernel-cmdline.conf modules-initfs"


build() {
	devicepkg_build $startdir $pkgname
}

package() {
	devicepkg_package $startdir $pkgname
}

sha512sums="
76cb5b07dfb402df759d5275d9e66b2f26bea392e5cc2ff0605fbf8d0c337c9484f9d004ec115afe6b6c94fd3ad971f06a31d2d0437e1f690637b24e1cc23e6c  deviceinfo
37e1e5f8839b624ab3eb850a24ed4daeb61a651257a1fb593f49cb869323e5d1b339c831a18eb26a9d7bd0a618ea9eb2bb9bf3882133af5f2606a878e6d39c67  kernel-cmdline.conf
13ba472485d757332b46a21fe771ae2779d0c5f1e997b6e51a4c0acce902256f0a2c724828251acf0150d7de919b691053de59041fea0b983569a004dcb75256  modules-initfs
"
