ayaports/user/rm-extractor/APKBUILD

28 lines
1.1 KiB
Text
Raw Normal View History

2023-05-16 19:17:35 +00:00
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
pkgname=rm-extractor
_gittag=9d37e9437affea379dadb59e646a819b3b9147dd
pkgver=0.0.1
2024-01-09 18:26:37 +00:00
pkgrel=3
2023-05-16 19:17:35 +00:00
pkgdesc="Image extractor for reMarkable firmware files"
arch="noarch"
url="https://github.com/ddvk/remarkable-update"
license="MIT"
2023-05-16 19:49:49 +00:00
depends="py3-six py3-protobuf"
2023-05-16 19:17:35 +00:00
options="!check" # No testsuite
builddir="$srcdir/remarkable-update-$_gittag"
source="$pkgname-$pkgver.tar.gz::https://github.com/ddvk/remarkable-update/archive/$_gittag.tar.gz"
package() {
install -vDm755 "$builddir"/extractor/extractor.py "$pkgdir"/usr/lib/rm-extractor/extractor.py
install -vDm644 "$builddir"/extractor/update_metadata.proto "$pkgdir"/usr/lib/rm-extractor/update_metadata.proto
install -vDm755 "$builddir"/extractor/update_metadata_pb2.py "$pkgdir"/usr/lib/rm-extractor/update_metadata_pb2.py
install -vdm755 "$pkgdir"/usr/bin
ln -s /usr/lib/rm-extractor/extractor.py "$pkgdir"/usr/bin/rm-extractor
}
sha512sums="
866c483950ee2cf7085e7d43d8752458d9aeb58b4361c05f50ac3118e87b295ff62b3d4288ad846eda5f93a4afe38891f6a9166f839c66f5ff0ab07afab6ae16 rm-extractor-0.0.1.tar.gz
"