From 2c9be50e7dc0dc4ea9324fe247167b6da7d9eb3a Mon Sep 17 00:00:00 2001 From: termux-pacman-bot Date: Fri, 26 Aug 2022 04:50:16 +0000 Subject: [PATCH] add(main): new package pystring --- packages/pystring/build.sh | 8 ++++++++ packages/pystring/makefile.patch | 8 ++++++++ 2 files changed, 16 insertions(+) create mode 100644 packages/pystring/build.sh create mode 100644 packages/pystring/makefile.patch diff --git a/packages/pystring/build.sh b/packages/pystring/build.sh new file mode 100644 index 0000000000..72b83cccae --- /dev/null +++ b/packages/pystring/build.sh @@ -0,0 +1,8 @@ +TERMUX_PKG_HOMEPAGE=https://github.com/imageworks/pystring +TERMUX_PKG_DESCRIPTION="C++ functions matching the interface and behavior of python string methods with std::string" +TERMUX_PKG_LICENSE="BSD 3-Clause" +TERMUX_PKG_MAINTAINER="@termux" +TERMUX_PKG_VERSION=1.1.3 +TERMUX_PKG_SRCURL=https://github.com/imageworks/pystring/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz +TERMUX_PKG_SHA256=358a56e756e701836b69a31c75d3d9d41c34d447cf7b3775bbd5620dcd3203d9 +TERMUX_PKG_BUILD_IN_SRC=true diff --git a/packages/pystring/makefile.patch b/packages/pystring/makefile.patch new file mode 100644 index 0000000000..172b3c190b --- /dev/null +++ b/packages/pystring/makefile.patch @@ -0,0 +1,8 @@ +--- pystring-1.1.3/Makefile 2012-10-16 21:31:17.000000000 +0000 ++++ pystring-1.1.3.mod/Makefile 2022-08-24 14:13:00.081696122 +0000 +@@ -1,5 +1,5 @@ + LIBTOOL = libtool +-LIBDIR = /usr/lib ++LIBDIR = @TERMUX_PREFIX@/lib + CXX = g++ + CXXFLAGS = -g -O3 -Wall -Wextra -Wshadow -Wconversion -Wcast-qual -Wformat=2