27 lines
829 B
Bash
27 lines
829 B
Bash
# Template file for 'dpp'
|
|
pkgname=dpp
|
|
version=10.0.30
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DDPP_NO_VCPKG=ON -DDPP_USE_EXTERNAL_JSON=ON -DDPP_CORO=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=fb7019770bd5c5f0539523536250da387ee1fa9c92e59c0bcff6c9adaf3d77e8
|
|
|
|
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"
|
|
}
|
|
}
|