[arch-commits] Commit in (5 files)
Daniel Micay
thestinger at nymeria.archlinux.org
Sat Nov 2 08:55:16 UTC 2013
Date: Saturday, November 2, 2013 @ 09:55:16
Author: thestinger
Revision: 100306
add libtsm for kmscon
Added:
libtsm/
libtsm/repos/
libtsm/trunk/
libtsm/trunk/PKGBUILD
Modified:
kmscon/trunk/PKGBUILD
-----------------------+
kmscon/trunk/PKGBUILD | 32 +++++++-------------------------
libtsm/trunk/PKGBUILD | 26 ++++++++++++++++++++++++++
2 files changed, 33 insertions(+), 25 deletions(-)
Modified: kmscon/trunk/PKGBUILD
===================================================================
--- kmscon/trunk/PKGBUILD 2013-11-02 08:52:48 UTC (rev 100305)
+++ kmscon/trunk/PKGBUILD 2013-11-02 08:55:16 UTC (rev 100306)
@@ -2,44 +2,26 @@
# Maintainer: Daniel Micay <danielmicay at gmail.com>
# Contributor: David Herrmann <dh.herrmann at googlemail.com>
pkgname=kmscon
-pkgver=7
-pkgrel=2
+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)
+source=(git://github.com/dvdhrm/kmscon#tag=kmscon-$pkgver)
+md5sums=(SKIP)
-__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
+ 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/"
Added: libtsm/trunk/PKGBUILD
===================================================================
--- libtsm/trunk/PKGBUILD (rev 0)
+++ libtsm/trunk/PKGBUILD 2013-11-02 08:55:16 UTC (rev 100306)
@@ -0,0 +1,26 @@
+# Maintainer: Daniel Micay <danielmicay at gmail.com>
+# Contributor: David Herrmann <dh.herrmann at gmail.com>
+pkgname=libtsm
+pkgver=3
+pkgrel=3
+pkgdesc='Terminal-emulator State Machine'
+arch=('i686' 'x86_64')
+url="http://www.freedesktop.org/wiki/Software/kmscon/$pkgname"
+license=('MIT')
+depends=(glibc)
+makedepends=('libxkbcommon')
+options=(!libtool)
+source=(http://www.freedesktop.org/software/kmscon/releases/$pkgname-$pkgver.tar.xz)
+md5sums=('c1b297a69d11a72f207ec35ae5ce7d69')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+ make DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list