summaryrefslogtreecommitdiff
path: root/community/kmscon/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/kmscon/PKGBUILD')
-rw-r--r--community/kmscon/PKGBUILD34
1 files changed, 7 insertions, 27 deletions
diff --git a/community/kmscon/PKGBUILD b/community/kmscon/PKGBUILD
index 801f87927..faa619be2 100644
--- a/community/kmscon/PKGBUILD
+++ b/community/kmscon/PKGBUILD
@@ -1,46 +1,26 @@
-# $Id: PKGBUILD 85313 2013-02-28 21:20:56Z thestinger $
+# $Id: PKGBUILD 100312 2013-11-02 08:59:03Z thestinger $
# Maintainer: Daniel Micay <danielmicay@gmail.com>
# Contributor: David Herrmann <dh.herrmann@googlemail.com>
pkgname=kmscon
-pkgver=7
+pkgver=8
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)
+depends=(systemd libdrm mesa libegl libgbm libgles pango libxkbcommon xkeyboard-config libtsm)
makedepends=(git libxslt docbook-xsl linux-api-headers)
-options=(!libtool)
-
-__gitroot=https://github.com/dvdhrm/kmscon.git
-__gitname=kmscon
+source=(git://github.com/dvdhrm/kmscon#tag=kmscon-$pkgver)
+md5sums=(SKIP)
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
+ cd $pkgname
./autogen.sh --prefix=/usr --disable-wlterm
make
}
package() {
- cd "$srcdir/$__gitname-build"
+ cd $pkgname
make DESTDIR="$pkgdir/" install
mkdir -p "$pkgdir/usr/share/licenses/$pkgname" "$pkgdir/usr/lib/systemd/system"
cp COPYING "$pkgdir/usr/share/licenses/$pkgname/"