summaryrefslogtreecommitdiff
path: root/community/libtsm/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/libtsm/PKGBUILD')
-rw-r--r--community/libtsm/PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/community/libtsm/PKGBUILD b/community/libtsm/PKGBUILD
new file mode 100644
index 000000000..af30bda3a
--- /dev/null
+++ b/community/libtsm/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Daniel Micay <danielmicay@gmail.com>
+# Contributor: David Herrmann <dh.herrmann@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
+}