# Contributor: Patrick Jackson # Contributor: Christoph Vigano # Maintainer: Max Zhao pkgname=st-tomorrownight _pkgname=st pkgver=0.7 pkgrel=1 pkgdesc='A simple virtual terminal emulator for X. Using the tomorrow-night colorscheme and the Terminus Font.' arch=('i686' 'x86_64') license=('MIT') 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' 'db342a8a6cbdce9d30029a5a4a470a82') prepare() { cd $srcdir/$pkgname-$pkgver # skip terminfo which conflicts with nsurses sed -i '/\@tic /d' Makefile cp $srcdir/config.h config.h } build() { cd $srcdir/$pkgname-$pkgver 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" }