summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 11d40791fac405d500fd92556ded7289b2060f74 (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
# Maintainer: Kyle Keen <keenerd@gmail.com>
# Contributor: Chris Tam <lchris314 at gmail dot com>
# Contributor: Daniel Micay <danielmicay at gmail dotcom>
# Contributor: David Herrmann <dh.herrmann@googlemail dot com>

pkgname=kmscon
pkgver=9.0.0
pkgrel=1
pkgdesc='Terminal emulator based on Kernel Mode Setting (KMS)'
arch=('x86_64')
url='https://github.com/Aetf/kmscon/'
license=('MIT')
depends=('systemd' 'libdrm' 'mesa' 'libgl' 'pango' 'libxkbcommon'
         'xkeyboard-config' 'libtsm')
makedepends=('libxslt' 'docbook-xsl' 'linux-api-headers' 'meson')
source=("https://github.com/Aetf/kmscon/releases/download/v$pkgver/$pkgname-$pkgver.tar.xz")
sha256sums=('48be605bd874260d9bd7a59e82421ceacf875e4a2c5dba9c62d7f0359df694b6')

build() {
  meson setup build $pkgname-$pkgver \
   --prefix=/usr \
   --libexecdir=lib \
   -D werror=false
  meson compile -C build
}

package() {
  meson install -C build --destdir="$pkgdir"
  install -Dm644 $pkgname-$pkgver/COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
#  install -d "$pkgdir/usr/lib/systemd/system"
#  cp docs/kmscon{,vt@}.service "$pkgdir/usr/lib/systemd/system/"
}