ayaports/user/rm-utils/APKBUILD
2023-04-23 05:58:30 +00:00

40 lines
1.5 KiB
Text

# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
[ "$CBUILD" != "$CHOST" ] && _cross="-$CARCH" || _cross=""
pkgname=rm-utils
pkgver=0.0.1
pkgrel=0
pkgdesc="Utility files for reMarkable tablet"
arch="armv7 armhf"
url="http://www.davisr.me/projects/parabola-rm/"
license="GPL-3.0-only"
makedepends="gcc$_cross linux-rm-devel"
options="!check" # No testsuite
builddir="$srcdir"
source="
battery-monitor.sh
epdc-init-auto.c
epdc-show-bitmap.c
xorg.conf
"
builddir() {
$CC -c epdc-init-auto.c -o epdc-init-auto
$CC -c epdc-show-bitmap.c -o epdc-show-bitmap
}
package() {
install -vDm755 battery-monitor.sh -t "$pkgdir"/usr/bin/battery-monitor
install -vDm755 epdc-show-bitmap -t "$pkgdir"/usr/bin/epdc-show-bitmap
install -vDm755 epdc-init-auto -t "$pkgdir"/usr/bin/epdc-init-auto
install -vDm644 xorg.conf -t "$pkgdir"/etc/defaults/xorg.conf
}
sha512sums="
7f0e6cb276357983b76c37c81a91c0d278dbec16d8982a97618f2217ef5e4d706211d921af6c79db3aad912d50aaed8cf5ce67f52a1081f61585eb97322c8deb battery-monitor.sh
50813c5c2e888e106416dd0b5b515c8a145da23343992b29ee8ad325a72a7b4bd464824636ea66c95f16df20f357646bf8e9e1ed66367f8b540b50dc608495d6 epdc-init-auto.c
274ba66666628ec12ee32e2054d7fd2d3ebcccb144784934f645472d482ed0d56777ebd87a342dd121c6e753e8efc776d9c340e4f54ac3b0fb460afbdb0020fe epdc-show-bitmap.c
e14a61751e4c830652e7a849b9d596c6bc213fed87ba3f9f7c3df0d5fe35ddf28bde7de2fa977c0321639503ceff5abffd0d856380eacce24389fd50eaf3372a xorg.conf
"