avoid overlap with ncurses files

This commit is contained in:
Ryan 2018-04-02 18:34:52 +02:00
parent a2587b2699
commit b40db23e0f

View file

@ -24,7 +24,7 @@ source=("http://dl.suckless.org/st/$pkgname-$pkgver.tar.gz"
"${_patches[@]}")
sha256sums=('c4fb0fe2b8d2d3bd5e72763e80a8ae05b7d44dbac8f8e3bb18ef0161c7266926'
'da8bd2e52e718cef0d935c00d263238705070f5c41e41c2c39004a3ccdc7dbb8'
'd8ddb0385fa1dbf0599b345cbb0655cf605f43668234884cf892d44cb2f04320'
'4989c03de5165234303d3929e3b60d662828972203561651aa6dc6b8f67feeb8'
'8279d347c70bc9b36f450ba15e1fd9ff62eedf49ce9258c35d7f1cfe38cca226'
'3fb38940cc3bad3f9cd1e2a0796ebd0e48950a07860ecf8523a5afd0cd1b5a44'
@ -37,7 +37,7 @@ sha256sums=('c4fb0fe2b8d2d3bd5e72763e80a8ae05b7d44dbac8f8e3bb18ef0161c7266926'
prepare() {
cd $srcdir/$pkgname-$pkgver
# skip terminfo which conflicts with nsurses
sed -i '/\@tic /d' Makefile
sed -i '/\ttic -sx st.info/d' Makefile
# Modify alpha patch to prevent conflicts
sed -i '1,44d' "$srcdir/$(basename ${_patches[5]})"