ayaports/user/rm-utils/APKBUILD

38 lines
1.4 KiB
Text

# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
pkgname=rm-utils
pkgver=0.0.1
pkgrel=4
pkgdesc="Utility files for reMarkable tablet"
arch="armv7"
url="http://www.davisr.me/projects/parabola-rm/"
license="GPL-3.0-only"
makedepends="musl-dev linux-rm-headers"
options="!check" # No testsuite
builddir="$srcdir"
source="
battery-monitor.sh
epdc-init-auto.c
epdc-show-bitmap.c
xorg.conf
"
build() {
$CC $CFLAGS epdc-init-auto.c -o epdc-init-auto
$CC $CFLAGS epdc-show-bitmap.c -o epdc-show-bitmap
}
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
e14a61751e4c830652e7a849b9d596c6bc213fed87ba3f9f7c3df0d5fe35ddf28bde7de2fa977c0321639503ceff5abffd0d856380eacce24389fd50eaf3372a xorg.conf
"