pkgname=asus-transformer-blobtools
pkgver=1.1.0
pkgrel=0
pkgdesc="Tools for unpacking & repacking blobs used for updating 'hidden' partitions on ASUS Transformer"
url="https://gitlab.com/postmarketOS/asus-transformer-blobtools/"
arch="all"
license="Apache-2.0"
source="$pkgname-$pkgver.tar.gz::https://gitlab.com/postmarketOS/asus-transformer-blobtools/-/archive/$pkgver/asus-transformer-blobtools-$pkgver.tar.gz"
options="!check" # No tests
build() {
	make
}

package() {
	for i in blobpack blobunpack; do
		install -Dm755 "$i" "$pkgdir"/usr/bin/"$(basename "$i")"
	done
}

sha512sums="04cab2462e06b7b756ff28be838d1bf0de2748c95a8692c6d5847c8469d5f6735d074c0d0e15bfc9746bb415621abdb6645bb3ce69acda90084a85c9b1426f6f  asus-transformer-blobtools-1.1.0.tar.gz"
