user/oxide: new aport

This commit is contained in:
Antoine Martin 2023-07-23 08:54:22 -04:00
parent 1fc4159ed2
commit 78da0e4156

32
user/oxide/APKBUILD Normal file
View file

@ -0,0 +1,32 @@
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
pkgname=oxide
pkgver=2.5
pkgrel=0
pkgdesc="A launcher application for the reMarkable tablet"
arch="armv7"
url="A launcher application for the reMarkable tablet."
license="MIT"
options="!check" # No testsuite
makedepends="qt5-qtbase-dev qt5-qtquick3d-dev elogind-dev"
source="
$pkgname-$pkgver.tar.gz::https://github.com/Eeems-Org/oxide/archive/refs/tags/v$pkgver.tar.gz
"
build() {
find . -name "*.pro" -type f -print0 \
| xargs -r -0 sed -i 's/linux-oe-g++/linux-arm-remarkable-g++/g'
make release
}
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="
dd37d8a24bd71ed19f4608be49f380343766aff75127ef2c627f717b18ed6ecf8da3f6197d1847f06c72be8b29d44398afabf75409f923412b6be1af32e84d9d oxide-2.5.tar.gz
"