summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Micay2015-06-25 11:12:01 -0400
committerDaniel Micay2015-06-25 11:12:01 -0400
commitcf1e83c76d97b02293663e1175e9288620c74631 (patch)
treeca14b9a60e743c1132b67c827c08a517a6bc9130
downloadaur-cf1e83c76d97b02293663e1175e9288620c74631.tar.gz
initial commit
-rw-r--r--.SRCINFO31
-rw-r--r--PKGBUILD32
2 files changed, 63 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..5ecb3c74539
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,31 @@
+pkgbase = kmscon-git
+ pkgdesc = Terminal emulator based on Kernel Mode Setting (KMS)
+ pkgver = 8.15.g3b6fb0f
+ pkgrel = 1
+ epoch = 2
+ url = https://github.com/dvdhrm/kmscon
+ arch = i686
+ arch = x86_64
+ license = MIT
+ makedepends = git
+ makedepends = libxslt
+ makedepends = docbook-xsl
+ makedepends = linux-api-headers
+ depends = systemd
+ depends = libdrm
+ depends = mesa
+ depends = libegl
+ depends = libgbm
+ depends = libgles
+ depends = pango
+ depends = libxkbcommon
+ depends = xkeyboard-config
+ depends = libtsm
+ provides = kmscon
+ conflicts = kmscon
+ options = !libtool
+ source = git://people.freedesktop.org/~dvdhrm/kmscon
+ md5sums = SKIP
+
+pkgname = kmscon-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..12a10b4f806
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,32 @@
+# Maintainer: Daniel Micay <danielmicay@gmail.com>
+_gitname=kmscon
+pkgname=kmscon-git
+pkgver=8.15.g3b6fb0f
+pkgver() { cd $_gitname && git describe | sed 's/^kmscon\-//; s/-/./g'; }
+pkgrel=1
+epoch=2
+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 xkeyboard-config libtsm)
+makedepends=(git libxslt docbook-xsl linux-api-headers)
+options=(!libtool)
+provides=(kmscon)
+conflicts=(kmscon)
+source=(git://people.freedesktop.org/~dvdhrm/kmscon)
+md5sums=(SKIP)
+
+build() {
+ cd $_gitname
+ ./autogen.sh --prefix=/usr --disable-wlterm
+ make
+}
+
+package() {
+ cd $_gitname
+ 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{,vt@}.service "$pkgdir/usr/lib/systemd/system/"
+}