summaryrefslogtreecommitdiff
path: root/PKGBUILD
diff options
context:
space:
mode:
authorChristoph Vigano <mail@cvigano.de>2015-07-08 18:24:50 +0200
committerChristoph Vigano <mail@cvigano.de>2015-07-08 18:24:50 +0200
commit478a415f90f92e52aae389cc4e138128656f6247 (patch)
tree4b32040b209a56dd678be26dfaf30aa5b0a709c3 /PKGBUILD
Update to st-0.6
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 0000000..88dc648
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,29 @@
+# Contributor: Patrick Jackson <PatrickSJackson gmail com>
+# Maintainer: Christoph Vigano <mail@cvigano.de>
+
+pkgname=st
+pkgver=0.6
+pkgrel=1
+pkgdesc='A simple virtual terminal emulator for X.'
+arch=('i686' 'x86_64')
+license=('MIT')
+depends=('libxft')
+makedepends=('ncurses')
+url="http://st.suckless.org"
+source=(http://dl.suckless.org/st/$pkgname-$pkgver.tar.gz
+ config.h)
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+ cp $srcdir/config.h config.h
+ make X11INC=/usr/include/X11 X11LIB=/usr/lib/X11
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
+ make PREFIX=/usr DESTDIR="$pkgdir" TERMINFO="$pkgdir/usr/share/terminfo" install
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ install -Dm644 README "$pkgdir/usr/share/doc/$pkgname/README"
+}
+md5sums=('1a926f450b4eacb7e2f5ac5b8ffea7c8'
+ '90ce5919be96de000bd9d9429b173490')