mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-01-10 04:43:32 +00:00
add(main): new package pystring
This commit is contained in:
8
packages/pystring/build.sh
Normal file
8
packages/pystring/build.sh
Normal file
@@ -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
|
||||
8
packages/pystring/makefile.patch
Normal file
8
packages/pystring/makefile.patch
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user