Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Haron-Prime committed Oct 21, 2017
1 parent 3791901 commit f13f443
Show file tree
Hide file tree
Showing 4 changed files with 482 additions and 1 deletion.
35 changes: 35 additions & 0 deletions custom_st_package/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Contributor: Patrick Jackson <PatrickSJackson gmail com>
# Maintainer: Christoph Vigano <mail@cvigano.de>

pkgname=st
pkgver=0.7
pkgrel=1
pkgdesc='A simple virtual terminal emulator for X.'
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'
'7f3c38c84dec509aead2e0e2503ff4de')

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"
}
Loading

0 comments on commit f13f443

Please sign in to comment.