summaryrefslogtreecommitdiff
path: root/community/kmscon/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-01-17 00:06:09 -0800
committerroot <root@rshg054.dnsready.net>2013-01-17 00:06:09 -0800
commit4e8c9530dbbf6c8b4c8147cef8fe9845c8898de3 (patch)
tree86de1737558215adb39fdcd56c699257288facca /community/kmscon/PKGBUILD
parente1c991185c594db7cc8978ed0239ebca4d37560e (diff)
Thu Jan 17 00:06:09 PST 2013
Diffstat (limited to 'community/kmscon/PKGBUILD')
-rw-r--r--community/kmscon/PKGBUILD37
1 files changed, 37 insertions, 0 deletions
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 <danielmicay@gmail.com>
+# Contributor: David Herrmann <dh.herrmann@googlemail.com>
+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/"
+}