diff options
author | Rui Marques | 2020-04-17 12:47:32 +0200 |
---|---|---|
committer | Rui Marques | 2020-04-17 12:47:32 +0200 |
commit | 0435534b6ee391e7e7bc450c65a9b61a830961a3 (patch) | |
tree | b3d7ac1e658a6b00a3734555c23c1a4a1e30e8c2 | |
parent | 1575184bc61eabf0d3e2e4ab497f4fd8c1f67933 (diff) | |
download | aur-0435534b6ee391e7e7bc450c65a9b61a830961a3.tar.gz |
support any arch, fix terminfo ncurses conflict
-rw-r--r-- | .SRCINFO | 7 | ||||
-rw-r--r-- | PKGBUILD | 12 |
2 files changed, 12 insertions, 7 deletions
@@ -1,10 +1,9 @@ pkgbase = st-ruifm-git pkgdesc = Simple virtual terminal emulator for X - pkgver = 0.8.2.r1102.50a6c3e - pkgrel = 1 + pkgver = 0.8.2.r1105.50a6c3e + pkgrel = 2 url = https://github.com/ruifm/st.git - arch = i686 - arch = x86_64 + arch = any license = MIT makedepends = ncurses makedepends = libxext @@ -6,11 +6,11 @@ pkgname=st-ruifm-git _pkgname=st-ruifm -pkgver=0.8.2.r1102.50a6c3e -pkgrel=1 +pkgver=0.8.2.r1105.50a6c3e +pkgrel=2 pkgdesc='Simple virtual terminal emulator for X' url='https://github.com/ruifm/st.git' -arch=('i686' 'x86_64') +arch=('any') license=('MIT') options=('zipman') depends=('libxft') @@ -27,6 +27,12 @@ pkgver() { echo "${_pkgver}.r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)" } +prepare() { + cd "${_pkgname}" + # skip terminfo which conflicts with nsurses + sed -i '/tic /d' Makefile +} + build() { cd "${_pkgname}" make X11INC=/usr/include/X11 X11LIB=/usr/lib/X11 |