2020-01-06 09:58:38 +00:00
|
|
|
# Maintainer: Daniele Debernardi <drebrez@gmail.com>
|
2018-03-05 22:59:23 +00:00
|
|
|
pkgname=charging-sdl
|
|
|
|
pkgver=0.1
|
2020-01-06 09:58:38 +00:00
|
|
|
pkgrel=1
|
2018-03-05 22:59:23 +00:00
|
|
|
pkgdesc="SDL2 charging application for the initramfs"
|
2018-06-30 14:08:43 +00:00
|
|
|
url="https://gitlab.com/postmarketOS/charging-sdl"
|
2018-03-05 22:59:23 +00:00
|
|
|
arch="all"
|
2020-01-06 09:58:38 +00:00
|
|
|
license="GPL-3.0-or-later"
|
|
|
|
depends="mesa-gl directfb"
|
2018-03-05 22:59:23 +00:00
|
|
|
makedepends="linux-headers sdl2-dev sdl2_ttf-dev"
|
2020-01-06 09:58:38 +00:00
|
|
|
source="$pkgname-$pkgver.tar.gz::https://gitlab.com/postmarketOS/charging-sdl/-/archive/$pkgver/charging-sdl-$pkgver.tar.gz"
|
|
|
|
options="!strip !check" # No tests
|
2018-03-05 22:59:23 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2020-01-06 09:58:38 +00:00
|
|
|
install -D -m755 charging_sdl \
|
2018-03-05 22:59:23 +00:00
|
|
|
"$pkgdir"/usr/bin/charging-sdl
|
|
|
|
}
|
|
|
|
|
|
|
|
sha512sums="61cb132da5780f230280eb9cd24971cc2ea038890b098ccd04f842eb80c2ebfa3a27d619e28d8a37fe64c5a3863fbab68e2842d830f7f4658e52888436647858 charging-sdl-0.1.tar.gz"
|