mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-01-28 13:42:37 +00:00
bump(main/rdrview): 0.1.5
Remove two hunks in Makefile.patch which changes hardcoded CC and PREFIX
variables, because those can be changed from make command line now. See
e8702a6eaa
This commit is contained in:
@@ -1,11 +1,6 @@
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -2,14 +2,14 @@
|
||||
ifeq ($(SYSTEM), OpenBSD)
|
||||
CC := egcc
|
||||
else
|
||||
- CC := gcc
|
||||
+ CC ?= gcc
|
||||
@@ -6,10 +6,10 @@
|
||||
endif
|
||||
GIT_COMMIT = $(shell git rev-parse --short HEAD)
|
||||
|
||||
@@ -19,12 +14,3 @@
|
||||
ifeq ($(SYSTEM), Linux)
|
||||
LDLIBS += -lseccomp
|
||||
else ifeq ($(SYSTEM), FreeBSD)
|
||||
@@ -20,7 +20,7 @@
|
||||
LDLIBS += -liconv
|
||||
endif
|
||||
|
||||
-PREFIX = /usr/local
|
||||
+PREFIX = @TERMUX_PREFIX@
|
||||
BINDIR = $(DESTDIR)$(PREFIX)/bin
|
||||
MANDIR = $(DESTDIR)$(PREFIX)/share/man/man1
|
||||
|
||||
|
||||
@@ -2,10 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://github.com/eafer/rdrview
|
||||
TERMUX_PKG_DESCRIPTION="Command line tool to extract the main content from a webpage"
|
||||
TERMUX_PKG_LICENSE="Apache-2.0"
|
||||
TERMUX_PKG_MAINTAINER="@termux"
|
||||
TERMUX_PKG_VERSION="1:0.1.4"
|
||||
TERMUX_PKG_REVISION=1
|
||||
TERMUX_PKG_VERSION="1:0.1.5"
|
||||
TERMUX_PKG_SRCURL=https://github.com/eafer/rdrview/archive/refs/tags/v${TERMUX_PKG_VERSION#*:}.tar.gz
|
||||
TERMUX_PKG_SHA256=a1a7197c7a8a813630b77fa4485fe8808f67c4c1c8aed3b0ea89eaf6f9bd84e1
|
||||
TERMUX_PKG_SHA256=e83266cb2e3b16a42f3433101d1f312350ce1442561eaded67efb51c2e8e8aab
|
||||
TERMUX_PKG_AUTO_UPDATE=true
|
||||
TERMUX_PKG_UPDATE_TAG_TYPE="newest-tag"
|
||||
TERMUX_PKG_DEPENDS="libcurl, libiconv, libseccomp, libxml2"
|
||||
|
||||
Reference in New Issue
Block a user