2023-03-01 08:32:52 +01:00
|
|
|
# Template file for 'dpp'
|
|
|
|
pkgname=dpp
|
2023-12-11 21:55:28 +01:00
|
|
|
version=10.0.29
|
2023-12-16 19:50:39 +01:00
|
|
|
revision=2
|
2023-03-01 08:32:52 +01:00
|
|
|
build_style=cmake
|
2023-10-03 22:48:10 +02:00
|
|
|
configure_args="-DDPP_NO_VCPKG=ON -DDPP_USE_EXTERNAL_JSON=ON"
|
2023-03-01 08:32:52 +01:00
|
|
|
cmake_builddir=build
|
|
|
|
hostmakedepends="pkg-config"
|
2023-10-03 22:48:10 +02:00
|
|
|
makedepends="libsodium-devel opus-devel zlib-devel openssl-devel json-c++"
|
2023-03-01 08:32:52 +01:00
|
|
|
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"
|
2023-12-11 21:55:28 +01:00
|
|
|
checksum=a37e91fbdabee20cb0313700588db4077abf0ebabafe386457d999d22d2d0682
|
2023-03-01 08:32:52 +01:00
|
|
|
|
|
|
|
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"
|
|
|
|
}
|
|
|
|
}
|