27 lines
797 B
Bash
27 lines
797 B
Bash
# Template file for 'dpp'
|
|
pkgname=dpp
|
|
version=10.0.24
|
|
revision=2
|
|
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=e5d561b864a7397caeb5616d388ebbd79a8f21077f3b13ac6ccd7e29c746daa9
|
|
|
|
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"
|
|
}
|
|
}
|