New package: libdpp-10.0.23_1

Closes: https://github.com/void-linux/void-packages/pull/42521
This commit is contained in:
Lunar Starstrum 2023-03-01 01:32:52 -06:00 committed by Duncaen
parent b383b8fa62
commit e322975b87
No known key found for this signature in database
GPG Key ID: 335C1D17EC3D6E35
3 changed files with 29 additions and 0 deletions

1
srcpkgs/dpp-devel Symbolic link
View File

@ -0,0 +1 @@
dpp

26
srcpkgs/dpp/template Normal file
View File

@ -0,0 +1,26 @@
# Template file for 'dpp'
pkgname=dpp
version=10.0.23
revision=1
build_style=cmake
configure_args="-DDPP_USE_EXTERNAL_JSON=ON"
cmake_builddir=build
hostmakedepends="pkg-config"
makedepends="libsodium-devel opus-devel zlib-devel openssl-devel json-c++"
short_desc="C++ Discord API Library for Bots"
maintainer="Lunar Starstrum <lunar@forsaken-borders.net>"
license=Apache-2.0
homepage="https://dpp.dev"
distfiles="https://github.com/brainboxdotcc/DPP/archive/refs/tags/v${version}.tar.gz"
checksum=8f9db61c3586a492ada378235300c509e3bc2fc090cef32de0a8241741038df0
dpp-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/lib/cmake
vmove usr/lib/pkgconfig
vmove usr/include
vmove "usr/lib/*.so"
}
}

2
srcpkgs/dpp/update Normal file
View File

@ -0,0 +1,2 @@
site="https://github.com/brainboxdotcc/DPP/tags"
pattern='/archive/refs/tags/v\K[\d\.]+(?=\.tar\.gz")'