New package: pystring-1.1.3

This commit is contained in:
John 2022-08-21 20:34:32 +02:00
parent 5ea1feaa0c
commit 4accc1948d
4 changed files with 39 additions and 0 deletions

View File

@ -2235,6 +2235,7 @@ libKF5ThreadWeaver.so.5 threadweaver-5.26.0_1
libOpenImageIO_Util.so.2.2 openimageio-2.2.13.1_1
libOpenImageIO.so.2.2 openimageio-2.2.13.1_1
libOpenColorIO.so.1 opencolorio-1.0.8_1
libpystring.so.1 pystring-1.1.3_1
libyaml-cpp.so.0.7 yaml-cpp-0.7.0_1
libpaper.so.1 libpaper-1.1.24_1
libhtsjava.so.2 httrack-3.49.2_7

1
srcpkgs/pystring-devel Symbolic link
View File

@ -0,0 +1 @@
pystring

View File

@ -0,0 +1,12 @@
--- /dev/null 2022-09-11 10:25:08.762524599 +0200
+++ pystring-1.1.3/meson.build 2022-09-11 12:48:33.304524690 +0200
@@ -0,0 +1,9 @@
+project('pystring', 'cpp')
+pkg = import('pkgconfig')
+lib = library('pystring',
+ 'pystring.cpp',
+ version: '1.1.3',
+ soversion: '1',
+ install : true)
+pkg.generate(lib)
+install_headers('pystring.h', subdir: 'pystring')

25
srcpkgs/pystring/template Normal file
View File

@ -0,0 +1,25 @@
# Template file for 'pystring'
pkgname=pystring
version=1.1.3
revision=1
build_style=meson
short_desc="C++ functions matching interface/behavior of python strings"
maintainer="John <me@johnnynator.dev>"
license="BSD-2-Clause"
homepage="https://github.com/imageworks/pystring"
distfiles="https://github.com/imageworks/pystring/archive/refs/tags/v${version}.tar.gz"
checksum=358a56e756e701836b69a31c75d3d9d41c34d447cf7b3775bbd5620dcd3203d9
post_install() {
vlicense LICENSE
}
pystring-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}
}