blob: 1dd91d568f48dc6d0346078802f66c6368424b7b (
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
29
30
31
32
33
34
35
36
37
38
|
# Maintainer: maronvl <maron.vl@gmx.de>
pkgname=lcd4linux-git
_pkgname=lcd4linux
pkgver=r1167.cb69a93
pkgrel=1
pkgdesc="Grabs information from the kernel and other systems and displays it on an LCD"
arch=('i686' 'x86_64')
url="https://github.com/jmccrohan/lcd4linux"
license=('GPLv2')
makedepends=('git' 'pkg-config' 'automake' 'autoconf')
provides=('lcd4linux')
conflicts=('lcd4linux-svn')
source=('lcd4linux::git+https://github.com/jmccrohan/lcd4linux')
md5sums=('SKIP')
pkgver() {
cd "$_pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$_pkgname"
./bootstrap
./configure --prefix=/usr
make
}
check() {
cd "$_pkgname"
make -k check
}
package() {
cd "$_pkgname"
make DESTDIR="$pkgdir/" install
install -Dm0644 "$srcdir/../lcd4linux.service" "$pkgdir/usr/lib/systemd/system/lcd4linux.service"
}
|