From 491bf9298cf5197ddbdda07d5d8aa09309b0c2fe Mon Sep 17 00:00:00 2001 From: "Sebastian J. Bronner" Date: Tue, 15 Oct 2019 18:12:51 +0200 Subject: Fix remaining issue with terminfo files --- PKGBUILD | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'PKGBUILD') diff --git a/PKGBUILD b/PKGBUILD index 8d3a2c3..d2cbc2d 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,20 +1,23 @@ # Maintainer: Jose Riha +# Maintainer: Sebastian J. Bronner # Contributor: Patrick Jackson # Contributor: Christoph Vigano pkgname=st pkgver=0.8.2 -pkgrel=2 +pkgrel=3 pkgdesc='A simple virtual terminal emulator for X.' arch=('i686' 'x86_64' 'armv7h') license=('MIT') -depends=('libxft' 'libxext' 'xorg-fonts-misc') -makedepends=('ncurses') +depends=(libxft) +makedepends=(libxext ncurses) url="http://st.suckless.org" source=(http://dl.suckless.org/st/$pkgname-$pkgver.tar.gz config.h) sha256sums=('aeb74e10aa11ed364e1bcc635a81a523119093e63befd2f231f8b0705b15bf35' 'SKIP') prepare() { + sed '/@tic/d' -i $pkgname-$pkgver/Makefile + # user is supposed to maintain config.h him/herself cp $srcdir/config.h $srcdir/$pkgname-$pkgver/config.h } @@ -26,9 +29,7 @@ build() { package() { cd $srcdir/$pkgname-$pkgver - make PREFIX=/usr DESTDIR="$pkgdir" TERMINFO="$pkgdir/usr/share/terminfo" install + make PREFIX=/usr DESTDIR="$pkgdir" install install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" install -Dm644 README "$pkgdir/usr/share/doc/$pkgname/README" - # remove to avoid conflict with ncurses - rm "${pkgdir}/usr/share/terminfo/s/st" "${pkgdir}/usr/share/terminfo/s/st-256color" } -- cgit v1.2.3