patch for the patch
This commit is contained in:
7
.SRCINFO
7
.SRCINFO
@@ -1,12 +1,15 @@
|
|||||||
pkgbase = st-git
|
pkgbase = st-git
|
||||||
pkgdesc = A simple virtual terminal emulator for X.
|
pkgdesc = A simple virtual terminal emulator for X.
|
||||||
pkgver = 0.8.3.r9.g045a0fa
|
pkgver = 0.8.3.r13.g475a0a3
|
||||||
pkgrel = 1
|
pkgrel = 2
|
||||||
url = https://st.suckless.org
|
url = https://st.suckless.org
|
||||||
arch = i686
|
arch = i686
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
arch = armv7h
|
arch = armv7h
|
||||||
license = MIT
|
license = MIT
|
||||||
|
makedepends = ncurses
|
||||||
|
makedepends = libxext
|
||||||
|
makedepends = git
|
||||||
depends = libxft
|
depends = libxft
|
||||||
provides = st
|
provides = st
|
||||||
conflicts = st
|
conflicts = st
|
||||||
|
|||||||
19
PKGBUILD
19
PKGBUILD
@@ -1,16 +1,18 @@
|
|||||||
# Maintainer: Vincent Grande <shoober420@gmail.com>
|
# Maintainer: Vincent Grande <shoober420@gmail.com>
|
||||||
|
# Contributor: Static_Rocket
|
||||||
# Contributor: Jose Riha <jose1711 gmail com>
|
# Contributor: Jose Riha <jose1711 gmail com>
|
||||||
# Contributor: Sebastian J. Bronner <waschtl@sbronner.com>
|
# Contributor: Sebastian J. Bronner <waschtl@sbronner.com>
|
||||||
# Contributor: Patrick Jackson <PatrickSJackson gmail com>
|
# Contributor: Patrick Jackson <PatrickSJackson gmail com>
|
||||||
# Contributor: Christoph Vigano <mail@cvigano.de>
|
# Contributor: Christoph Vigano <mail@cvigano.de>
|
||||||
|
|
||||||
pkgname=st-git
|
pkgname=st-git
|
||||||
pkgver=0.8.3.r9.g045a0fa
|
pkgver=0.8.3.r13.g475a0a3
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc='A simple virtual terminal emulator for X.'
|
pkgdesc='A simple virtual terminal emulator for X.'
|
||||||
arch=('i686' 'x86_64' 'armv7h')
|
arch=('i686' 'x86_64' 'armv7h')
|
||||||
license=('MIT')
|
license=('MIT')
|
||||||
depends=(libxft)
|
depends=(libxft)
|
||||||
|
makedepends=('ncurses' 'libxext' 'git')
|
||||||
provides=(st)
|
provides=(st)
|
||||||
conflicts=(st)
|
conflicts=(st)
|
||||||
url=https://st.suckless.org
|
url=https://st.suckless.org
|
||||||
@@ -23,6 +25,8 @@ sha256sums=(SKIP
|
|||||||
_gitname="st"
|
_gitname="st"
|
||||||
_sourcedir="$_gitname"
|
_sourcedir="$_gitname"
|
||||||
_makeopts="--directory=$_sourcedir"
|
_makeopts="--directory=$_sourcedir"
|
||||||
|
_gitdir=${pkgname%'-git'}
|
||||||
|
_startdir=$PWD
|
||||||
|
|
||||||
pkgver() {
|
pkgver() {
|
||||||
cd "${srcdir}/st"
|
cd "${srcdir}/st"
|
||||||
@@ -31,11 +35,14 @@ pkgver() {
|
|||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
|
|
||||||
echo 'Applying patches from $startdir if they exist...'
|
patch --directory="$_sourcedir" --strip=0 < terminfo.patch
|
||||||
if [ -d "${startdir}/patches" ]; then
|
|
||||||
for patch in ${startdir}/patches/*.diff; do
|
|
||||||
|
echo 'Applying patches from $_startdir if they exist...'
|
||||||
|
if [ -d "$_startdir}/patches" ]; then
|
||||||
|
for patch in $_startdir/patches/*.diff; do
|
||||||
echo "Applying $patch ..."
|
echo "Applying $patch ..."
|
||||||
git apply "$patch"
|
patch -p1 -s -i "$patch"
|
||||||
done;
|
done;
|
||||||
fi;
|
fi;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user