-
-
Save oshazard/3d4522e708c4e1f2a479 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pkgname=st-pizz | |
_pkgname=st | |
epoch=1 | |
pkgver=20150129.fb845ba | |
pkgrel=2 | |
pkgdesc='Simple virtual terminal emulator for X from Github.' | |
url='https://github.com/pizzooid/st' | |
arch=('i686' 'x86_64' 'armv7h') | |
license=('MIT') | |
depends=('libxft' 'ttf-droid') | |
makedepends=('ncurses' 'libxext' 'git') | |
source=('git://github.com/pizzooid/st') | |
sha1sums=('SKIP') | |
provides=("${_pkgname}") | |
conflicts=("${_pkgname}") | |
pkgver() { | |
cd "${srcdir}/${_pkgname}" | |
git log -1 --format='%cd.%h' --date=short | tr -d - | |
} | |
build() { | |
cd "${srcdir}/${_pkgname}" | |
sed -i '/\@tic /d' Makefile | |
make X11INC=/usr/include/X11 X11LIB=/usr/lib/X11 | |
} | |
package() { | |
cd "${srcdir}/${_pkgname}" | |
make PREFIX=/usr DESTDIR="${pkgdir}" install | |
tic -s st.info -o${pkgdir}/usr/share/terminfo | |
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" | |
install -Dm644 README.md "${pkgdir}/usr/share/licenses/${pkgname}/README" | |
} | |
md5sums=('SKIP') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment