ayaports/user/rm-utils/APKBUILD

39 lines
1.4 KiB
Text
Raw Permalink Normal View History

2023-04-23 22:00:34 +00:00
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
pkgname=rm-utils
pkgver=0.0.1
2024-01-11 20:02:17 +00:00
pkgrel=4
2023-04-23 22:00:34 +00:00
pkgdesc="Utility files for reMarkable tablet"
2023-05-07 23:20:01 +00:00
arch="armv7"
2023-04-23 22:00:34 +00:00
url="http://www.davisr.me/projects/parabola-rm/"
license="GPL-3.0-only"
makedepends="musl-dev linux-rm-headers"
2023-04-23 22:00:34 +00:00
options="!check" # No testsuite
builddir="$srcdir"
source="
battery-monitor.sh
epdc-init-auto.c
epdc-show-bitmap.c
xorg.conf
"
build() {
2023-04-23 23:52:13 +00:00
$CC $CFLAGS epdc-init-auto.c -o epdc-init-auto
$CC $CFLAGS epdc-show-bitmap.c -o epdc-show-bitmap
2023-04-23 22:00:34 +00:00
}
package() {
install -vDm755 battery-monitor.sh "$pkgdir"/usr/bin/battery-monitor
install -vDm755 epdc-show-bitmap -t "$pkgdir"/usr/bin/
install -vDm755 epdc-init-auto -t "$pkgdir"/usr/bin/
install -vDm644 xorg.conf -t "$pkgdir"/etc/defaults/
}
sha512sums="
7f0e6cb276357983b76c37c81a91c0d278dbec16d8982a97618f2217ef5e4d706211d921af6c79db3aad912d50aaed8cf5ce67f52a1081f61585eb97322c8deb battery-monitor.sh
f145d6af541828e69217a73f7b848f7fe57cce37426e15469a1d6a5540604f4078d4cd1f67e69e77b961b608a7b8e2930e1e82b13fe9dd181361e361895a66be epdc-init-auto.c
409744c4bbcac462c38add2b19d3b433e44cb326905fe3af240931e27bb2b71b14696229c46187bf7c060f83d77920376b5c6161f62949a2fa2c0a5464753cc0 epdc-show-bitmap.c
2023-04-23 22:00:34 +00:00
e14a61751e4c830652e7a849b9d596c6bc213fed87ba3f9f7c3df0d5fe35ddf28bde7de2fa977c0321639503ceff5abffd0d856380eacce24389fd50eaf3372a xorg.conf
"