updpkg(main/libvterm): switch srcurl and update to 0.3

Neovim 8.0.0 has dropped their fork and now uses leonerd's original
variant.
This commit is contained in:
Henrik Grimler 2022-09-30 23:14:58 +02:00 committed by Yaksh Bariya
parent 0f40a4a8b9
commit 22e571fe99
No known key found for this signature in database
GPG Key ID: F7486BA7D3D27581
2 changed files with 15 additions and 7 deletions

View File

@ -0,0 +1,11 @@
--- ./Makefile.orig 2022-09-30 20:43:08.847414829 +0000
+++ ./Makefile 2022-09-30 20:43:30.371371040 +0000
@@ -45,7 +45,7 @@
VERSION=$(VERSION_MAJOR).$(VERSION_MINOR)
-PREFIX=/usr/local
+PREFIX?=/usr/local
BINDIR=$(PREFIX)/bin
LIBDIR=$(PREFIX)/lib
INCDIR=$(PREFIX)/include

View File

@ -1,13 +1,10 @@
TERMUX_PKG_HOMEPAGE=http://libvterm.sourceforge.net/
TERMUX_PKG_HOMEPAGE=https://www.leonerd.org.uk/code/libvterm/
TERMUX_PKG_DESCRIPTION="Terminal emulator library"
TERMUX_PKG_LICENSE="MIT"
TERMUX_PKG_MAINTAINER="@termux"
# libvterm does not do releases, take a specific commit for now:
TERMUX_PKG_VERSION=19.09.17
TERMUX_PKG_REVISION=1
_COMMIT=fcbccd3c79bfa811800fea24db3a77384941cb70
TERMUX_PKG_SRCURL=https://github.com/neovim/libvterm/archive/$_COMMIT.zip
TERMUX_PKG_SHA256=a20ebb18f37dccc685d8518147a0db78280582138ebc76e2635830cd93572bde
TERMUX_PKG_VERSION=1:0.3
TERMUX_PKG_SRCURL=https://www.leonerd.org.uk/code/libvterm/libvterm-${TERMUX_PKG_VERSION:2:4}.tar.gz
TERMUX_PKG_SHA256=61eb0d6628c52bdf02900dfd4468aa86a1a7125228bab8a67328981887483358
TERMUX_PKG_BREAKS="libvterm-dev"
TERMUX_PKG_REPLACES="libvterm-dev"
TERMUX_PKG_BUILD_IN_SRC=true