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
|
2023-04-23 23:52:13 +00:00
|
|
|
pkgrel=1
|
2023-04-23 22:00:34 +00:00
|
|
|
pkgdesc="Utility files for reMarkable tablet"
|
|
|
|
arch="armv7 armhf"
|
|
|
|
url="http://www.davisr.me/projects/parabola-rm/"
|
|
|
|
license="GPL-3.0-only"
|
|
|
|
makedepends="musl-dev linux-headers"
|
|
|
|
options="!check" # No testsuite
|
|
|
|
builddir="$srcdir"
|
|
|
|
source="
|
|
|
|
battery-monitor.sh
|
|
|
|
epdc-init-auto.c
|
|
|
|
epdc-show-bitmap.c
|
|
|
|
xorg.conf
|
|
|
|
mxcfb.h
|
|
|
|
"
|
|
|
|
|
|
|
|
build() {
|
2023-04-23 23:52:13 +00:00
|
|
|
env
|
|
|
|
$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
|
|
|
|
50813c5c2e888e106416dd0b5b515c8a145da23343992b29ee8ad325a72a7b4bd464824636ea66c95f16df20f357646bf8e9e1ed66367f8b540b50dc608495d6 epdc-init-auto.c
|
|
|
|
274ba66666628ec12ee32e2054d7fd2d3ebcccb144784934f645472d482ed0d56777ebd87a342dd121c6e753e8efc776d9c340e4f54ac3b0fb460afbdb0020fe epdc-show-bitmap.c
|
|
|
|
e14a61751e4c830652e7a849b9d596c6bc213fed87ba3f9f7c3df0d5fe35ddf28bde7de2fa977c0321639503ceff5abffd0d856380eacce24389fd50eaf3372a xorg.conf
|
|
|
|
0f3ccef7102c961232002f483344f9efc915f2862cefeaa966835ca7aa2f4d6236ac3df998189f3983535f03ede945565c54bb7e5f88f3a34c3a4429c3c075e7 mxcfb.h
|
|
|
|
"
|