New package: box2d-2.4.1

This commit is contained in:
Đoàn Trần Công Danh 2024-07-01 19:01:50 +07:00
parent 81924ecf7e
commit 57c6949cec
3 changed files with 31 additions and 0 deletions

View File

@ -4518,3 +4518,4 @@ libKPim6MimeTreeParserWidgets.so.6 mimetreeparser-24.02.0_1
/usr/lib/lua/5.1/lpeg.so lua51-lpeg-1.1.0_2 /usr/lib/lua/5.1/lpeg.so lua51-lpeg-1.1.0_2
libopenrazer.so.0 libopenrazer-0.2.0_1 libopenrazer.so.0 libopenrazer-0.2.0_1
libstaroffice-0.0.so.0 libstaroffice-0.0.7_1 libstaroffice-0.0.so.0 libstaroffice-0.0.7_1
libbox2d.so.2 box2d-2.4.1_1

1
srcpkgs/box2d-devel Symbolic link
View File

@ -0,0 +1 @@
box2d

29
srcpkgs/box2d/template Normal file
View File

@ -0,0 +1,29 @@
# Template file for 'box2d'
pkgname=box2d
version=2.4.1
revision=1
build_style=cmake
configure_args="-DBOX2D_BUILD_TESTBED=OFF -DBOX2D_BUILD_UNIT_TESTS=OFF
-DBUILD_SHARED_LIBS=ON"
makedepends="libX11-devel"
short_desc="2D physics engine for games"
maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
license="MIT"
homepage="https://github.com/erincatto/box2d"
# Use this distfiles until next release
distfiles="https://dev-www.libreoffice.org/src/box2d-${version}.tar.gz"
checksum=d6b4650ff897ee1ead27cf77a5933ea197cbeef6705638dd181adc2e816b23c2
post_install() {
vlicense LICENSE
}
box2d-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}