summaryrefslogtreecommitdiff
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMorten Linderud <morten@linderud.pw>2017-11-20 16:31:33 +0100
committerMorten Linderud <morten@linderud.pw>2017-11-20 16:31:33 +0100
commitca4780522a7fb64763aa66bfbef45b9853a52a75 (patch)
tree0a9d8fd1626f06712a9645abf0320c70fba7d78a /PKGBUILD
parent29d59144813997622f75c725864d36c5870dae5f (diff)
upgpkg: st 0.7-1
upstream release Added old st from community Signed-off-by: Morten Linderud <morten@linderud.pw>
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD25
1 files changed, 15 insertions, 10 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 0c9e42c..258dea3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,29 +2,34 @@
# Maintainer: Christoph Vigano <mail@cvigano.de>
pkgname=st
-pkgver=0.6
-pkgrel=2
+pkgver=0.7
+pkgrel=1
pkgdesc='A simple virtual terminal emulator for X.'
arch=('i686' 'x86_64')
license=('MIT')
-depends=('libxft')
+depends=('libxft' 'libxext' 'xorg-fonts-misc')
makedepends=('ncurses')
url="http://st.suckless.org"
source=(http://dl.suckless.org/st/$pkgname-$pkgver.tar.gz
config.h)
+md5sums=('29b2a599cf1511c8062ed8f025c84c63'
+ '9cb789e3912df36f296a219e1b9da850')
-build() {
+prepare() {
cd $srcdir/$pkgname-$pkgver
+ # skip terminfo which conflicts with nsurses
+ sed -i '/\@tic /d' Makefile
cp $srcdir/config.h config.h
- make X11INC=/usr/include/X11 X11LIB=/usr/lib/X11
+}
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+ make X11INC=/usr/include/X11 X11LIB=/usr/lib/X11
}
package() {
cd $srcdir/$pkgname-$pkgver
- sed -i '/\@tic /d' Makefile
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"
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ install -Dm644 README "$pkgdir/usr/share/doc/$pkgname/README"
}
-md5sums=('1a926f450b4eacb7e2f5ac5b8ffea7c8'
- '90ce5919be96de000bd9d9429b173490')