st

Luke's fork of the suckless terminal: vim-bindings, Xresrouces colors, transparency
Log | Files | Refs | README | LICENSE

commit 1cd0b79004986385c62e419ed8a10c7b72d57563
parent 7af042167431b4a8ac522b86d69bb2ec1d2313ce
Author: Luke Smith <luke@lukesmith.xyz>
Date:   Thu,  4 Apr 2019 22:58:09 -0400

Merge pull request #57 from YusufAktepe/master

PKGBUILD added for easier management with pacman.
Diffstat:
APKGBUILD | 43+++++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+), 0 deletions(-)

diff --git a/PKGBUILD b/PKGBUILD @@ -0,0 +1,43 @@ +# Maintainer: + +pkgname=st-luke-git +_pkgname=st +_pkgver=0.8.1 +pkgver=0.8.1.r1044.7af0421 +pkgrel=1 +pkgdesc="Luke's build of st - the simple (suckless) terminal" +url='https://github.com/LukeSmithxyz/st' +arch=('i686' 'x86_64') +license=('MIT') +options=('zipman') +depends=('libxft') +makedepends=('ncurses' 'libxext' 'git') +optdepends=('dmenu: feed urls to dmenu') +source=('git://github.com/LukeSmithxyz/st') +sha1sums=('SKIP') + +provides=("${_pkgname}") +conflicts=("${_pkgname}") + +pkgver() { + cd "${_pkgname}" + printf "${_pkgver}.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +prepare() { + cd $srcdir/${_pkgname} + # skip terminfo which conflicts with nsurses + sed -i '/tic /d' Makefile +} + +build() { + cd "${_pkgname}" + make X11INC=/usr/include/X11 X11LIB=/usr/lib/X11 +} + +package() { + cd "${_pkgname}" + make PREFIX=/usr DESTDIR="${pkgdir}" install + install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md" +}