summaryrefslogtreecommitdiff
path: root/community/kmscon/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-11 01:21:34 -0700
committerroot <root@rshg054.dnsready.net>2013-08-11 01:21:34 -0700
commit18a41d682d6e91e0d28fce23eb75292f477bd620 (patch)
treebce8f660d7d0b6541cadbc49bf1bac2434e4c0c6 /community/kmscon/PKGBUILD
parent0ade1da67addf154d93c6a6399b0a3d5a18a3336 (diff)
Sun Aug 11 01:21:31 PDT 2013
Diffstat (limited to 'community/kmscon/PKGBUILD')
-rw-r--r--community/kmscon/PKGBUILD48
1 files changed, 0 insertions, 48 deletions
diff --git a/community/kmscon/PKGBUILD b/community/kmscon/PKGBUILD
deleted file mode 100644
index 801f87927..000000000
--- a/community/kmscon/PKGBUILD
+++ /dev/null
@@ -1,48 +0,0 @@
-# $Id: PKGBUILD 85313 2013-02-28 21:20:56Z thestinger $
-# Maintainer: Daniel Micay <danielmicay@gmail.com>
-# Contributor: David Herrmann <dh.herrmann@googlemail.com>
-pkgname=kmscon
-pkgver=7
-pkgrel=1
-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=(git libxslt docbook-xsl linux-api-headers)
-options=(!libtool)
-
-__gitroot=https://github.com/dvdhrm/kmscon.git
-__gitname=kmscon
-
-build() {
- cd "$srcdir"
-
- msg "Connecting to GIT server...."
-
- if [[ -d "$__gitname" ]]; then
- cd "$__gitname" && git pull origin
- msg "The local files are updated."
- else
- git clone "$__gitroot" "$__gitname"
- fi
-
- msg "GIT checkout done or server timeout"
- msg "Starting build..."
-
- rm -rf "$srcdir/$__gitname-build"
- git clone "$srcdir/$__gitname" "$srcdir/$__gitname-build"
- cd "$srcdir/$__gitname-build"
-
- git checkout $pkgname-$pkgver
- ./autogen.sh --prefix=/usr --disable-wlterm
- make
-}
-
-package() {
- cd "$srcdir/$__gitname-build"
- 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/"
-}