blob: 90541db12d97b229c45e8da3c28946ccec67e067 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# Maintainer: Daniel Menelkir <menelkir at itroll dot org>
# Contributor: Evgeniy Alekseev <arcanis.arch at gmail dot com>
# Contributor: Valeriy Lyasotskiy <onestep@ukr.net>
pkgname=g15daemon
pkgver=1.9.5.6
pkgrel=1
pkgdesc="A daemon that makes it possible to use the G-Buttons and draw on the G15 LCD"
arch=('x86_64')
url="https://gitlab.com/menelkir/g15daemon"
license=('GPL')
depends=('libg15render>=1.3')
source=(https://gitlab.com/menelkir/${pkgname}/-/archive/${pkgver}/${pkgname}-${pkgver}.tar.bz2)
sha512sums=('b58df25adfb4e315a13bfb4f31255dbcf79bba4a6c1cd2f74c81bde440f471e94fd06588de2ce1d0724b7f1b91f3752a7f2ab4b2a8734ae38e280ee491e63f65')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
CFLAGS+=' -fcommon' # https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common
./configure --prefix=/usr --sbindir=/usr/bin --disable-static
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
install -D -m 644 "${srcdir}/${pkgname}-${pkgver}/contrib/init/g15daemon.service" \
"${pkgdir}/usr/lib/systemd/system/g15daemon.service"
}
|