From 4e8c9530dbbf6c8b4c8147cef8fe9845c8898de3 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 17 Jan 2013 00:06:09 -0800 Subject: Thu Jan 17 00:06:09 PST 2013 --- community/kmscon/PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 community/kmscon/PKGBUILD (limited to 'community/kmscon/PKGBUILD') diff --git a/community/kmscon/PKGBUILD b/community/kmscon/PKGBUILD new file mode 100644 index 000000000..11cb9492d --- /dev/null +++ b/community/kmscon/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer: Daniel Micay +# Contributor: David Herrmann +pkgname=kmscon +pkgver=6 +pkgrel=3 +pkgdesc='Terminal emulator based on Kernel Mode Setting (KMS)' +arch=(i686 x86_64) +url='https://github.com/dvdhrm/kmscon' +license=('MIT') +depends=(systemd libdrm mesa libegl libgbm libgles pango libxkbcommon libpciaccess xkeyboard-config) +makedepends=('libxslt' 'docbook-xsl' 'linux-api-headers') +options=(!libtool) +source=(https://github.com/downloads/dvdhrm/$pkgname/$pkgname-$pkgver.tar.bz2) +md5sums=('12f6966cef8e846f31dbcad916a9f347') + +build() { + cd "$srcdir/$pkgname-$pkgver" + ./configure \ + --prefix=/usr \ + --enable-kmscon \ + --disable-wlterm \ + --enable-multi-seat \ + --enable-hotplug \ + --enable-pciaccess \ + --with-video=fbdev,dumb,drm \ + --with-fonts=pango,freetype2,8x16 \ + --with-sessions=dummy,terminal + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir/" install + mkdir -p "$pkgdir/usr/share/licenses/$pkgname" "$pkgdir/usr/lib/systemd/system" + cp COPYING "$pkgdir/usr/share/licenses/$pkgname/" + cp docs/kmscon{,@}.service "$pkgdir/usr/lib/systemd/system/" +} -- cgit v1.2.3-54-g00ecf