pkgname=firmware-htc-k2ul
pkgver=1
pkgrel=0
pkgdesc="Firmware files for HTC One SV"
url="https://postmarketos.org"
arch="armv7"
license="proprietary"
options="!check !strip !archcheck"


# Source
_commit="c822f224447f013232ec72061610e454f6e63167"
_repo="firmware-htc-k2ul"
_url="https://github.com/Hacker1245/$_repo/"
source="$pkgname-$_commit.tar.gz::$_url/archive/${_commit}.tar.gz"
builddir="$srcdir/$_repo-$_commit"

package() {
	install -dm755 "$pkgdir"/lib/firmware/postmarketos
	cp -r * "$pkgdir"/lib/firmware/postmarketos/
}
sha512sums="73ae3529ecc7cd881774c11e7e6b7672646b80138fec27824b89071386a4d3f79bf0559e2f91c6a93285f0bd65a90a5509669bf400db7a0ab66babe25a202a56  firmware-htc-k2ul-c822f224447f013232ec72061610e454f6e63167.tar.gz"
