[arch-commits] Commit in kmscon/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 14:01:21 UTC 2020


    Date: Tuesday, July 7, 2020 @ 14:01:20
  Author: felixonmars
Revision: 658682

archrelease: copy trunk to community-staging-x86_64

Added:
  kmscon/repos/community-staging-x86_64/
  kmscon/repos/community-staging-x86_64/PKGBUILD
    (from rev 658681, kmscon/trunk/PKGBUILD)

----------+
 PKGBUILD |   36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

Copied: kmscon/repos/community-staging-x86_64/PKGBUILD (from rev 658681, kmscon/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 14:01:20 UTC (rev 658682)
@@ -0,0 +1,36 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+# Contributor: Chris Tam <lchris314 at gmail dot com>
+# Contributor: Daniel Micay <danielmicay at gmail dotcom>
+# Contributor: David Herrmann <dh.herrmann at googlemail dot com>
+pkgname=kmscon
+pkgver=8
+pkgrel=6
+pkgdesc='Terminal emulator based on Kernel Mode Setting (KMS)'
+arch=('x86_64')
+url='https://www.freedesktop.org/wiki/Software/kmscon/'
+license=('MIT')
+depends=('systemd' 'libdrm' 'mesa' 'libgl' 'pango' 'libxkbcommon'
+         'xkeyboard-config' 'libtsm')
+makedepends=('libxslt' 'docbook-xsl' 'linux-api-headers')
+source=("https://www.freedesktop.org/software/kmscon/releases/kmscon-${pkgver}.tar.xz")
+md5sums=('90d39c4ef53a11c53f27be4a7e9acee4')
+
+prepare() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  sed -i -e '302s/SIGUNUSED/SIGSYS/' src/pty.c
+  sed -i '43i #include <sys/sysmacros.h>' src/uterm_vt.c
+}
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir/" install
+  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+  install -d "$pkgdir/usr/lib/systemd/system"
+  cp docs/kmscon{,vt@}.service "$pkgdir/usr/lib/systemd/system/"
+}



More information about the arch-commits mailing list