24 lines
567 B
Plaintext
24 lines
567 B
Plaintext
# Description: simple terminal implementation for X
|
|
# URL: https://st.suckless.org/
|
|
# Maintainer: John Vogel, jvogel4 at stny dot rr dot com
|
|
# Depends on: xorg-libxext xorg-libxft
|
|
|
|
name=st
|
|
version=0.8.2
|
|
release=1
|
|
source=(https://dl.suckless.org/st/$name-$version.tar.gz)
|
|
|
|
build () {
|
|
cd "$name-$version"
|
|
|
|
if [ -f $PKGMK_ROOT/config.h ]; then
|
|
cp $PKGMK_ROOT/config.h .
|
|
fi
|
|
|
|
make CC=gcc
|
|
make DESTDIR=$PKG PREFIX=/usr TERMINFO=$PKG/usr/share/terminfo install
|
|
|
|
# Remove duplicates of files from ncurses
|
|
rm -f $PKG/usr/share/terminfo/s/{st,st-256color}
|
|
}
|