libccd

MEDIUM
maintainer oysstu 10 votes scanned 2026-10-26 11:44:54.928123
View on AUR
Why flagged

This package was orphaned and re-adopted within the last 30 days — a window where ownership transfers can introduce malicious changes.

Triggered rules

Medium Recently orphaned & re-adopted orphaned_readopted

This package was orphaned and re-adopted within the last 30 days — a window where ownership transfers can introduce malicious changes.

PKGBUILD

1# Previous Maintainer: Benjamin Chretien <chretien at lirmm dot fr>
2# Previous Maintainer: acxz <akashpatel2008 at yahoo dot com>
3# Maintainer: oysstu <oysstu a protonmail d com>
4pkgname=libccd
5pkgver=2.1
6pkgrel=2
7pkgdesc="Library for collision detection between two convex shapes."
8arch=('any')
9url='https://github.com/danfis/libccd'
10license=('BSD-3-Clause')
11depends=()
12makedepends=('cmake')
13source=("https://github.com/danfis/libccd/archive/v${pkgver}.tar.gz")
14sha256sums=('542b6c47f522d581fbf39e51df32c7d1256ac0c626e7c2b41f1040d4b9d50d1e')
15provides=('libccd')
16conflicts=('libccd-git')
17
18build() {
19 cmake -B build -S "${pkgname}-${pkgver}" \
20 -DCMAKE_INSTALL_PREFIX=/usr \
21 -DCMAKE_INSTALL_LIBDIR=lib \
22 -DCMAKE_BUILD_TYPE='None' \
23 -DCMAKE_POLICY_VERSION_MINIMUM=3.5
24
25 cmake --build build
26}
27
28package() {
29 DESTDIR="${pkgdir}" cmake --install build
30
31 # Install and rename license
32 install -Dm644 "${pkgname}-${pkgver}/BSD-LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}/"
33 mv "${pkgdir}/usr/share/licenses/${pkgname}/BSD-LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
34 rm -rf "${pkgdir}/usr/share/doc" # Remove license installed by CMakeLists
35}
36

Changes since previous scan

--- PKGBUILD @ 2026-06-18 16:11
+++ PKGBUILD @ 2026-10-26 11:44
@@ -1,36 +1,36 @@
# Previous Maintainer: Benjamin Chretien <chretien at lirmm dot fr>
-# Maintainer: acxz <akashpatel2008 at yahoo dot com>
+# Previous Maintainer: acxz <akashpatel2008 at yahoo dot com>
+# Maintainer: oysstu <oysstu a protonmail d com>
pkgname=libccd
pkgver=2.1
-pkgrel=1
+pkgrel=2
pkgdesc="Library for collision detection between two convex shapes."
-arch=('i686' 'x86_64')
+arch=('any')
url='https://github.com/danfis/libccd'
-license=('BSD')
+license=('BSD-3-Clause')
depends=()
makedepends=('cmake')
-source=(https://github.com/danfis/libccd/archive/v${pkgver}.tar.gz)
+source=("https://github.com/danfis/libccd/archive/v${pkgver}.tar.gz")
sha256sums=('542b6c47f522d581fbf39e51df32c7d1256ac0c626e7c2b41f1040d4b9d50d1e')
provides=('libccd')
conflicts=('libccd-git')
-_dir=libccd-${pkgver}
-
build() {
- rm -rf ${srcdir}/build && mkdir -p ${srcdir}/build
- cd ${srcdir}/build
-
- cmake ${srcdir}/${_dir} \
+ cmake -B build -S "${pkgname}-${pkgver}" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
- -DCMAKE_BUILD_TYPE=Release
+ -DCMAKE_BUILD_TYPE='None' \
+ -DCMAKE_POLICY_VERSION_MINIMUM=3.5
- make
+ cmake --build build
}
package() {
- cd "${srcdir}/build"
-
- make DESTDIR="${pkgdir}/" install
+ DESTDIR="${pkgdir}" cmake --install build
+
+ # Install and rename license
+ install -Dm644 "${pkgname}-${pkgver}/BSD-LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}/"
+ mv "${pkgdir}/usr/share/licenses/${pkgname}/BSD-LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ rm -rf "${pkgdir}/usr/share/doc" # Remove license installed by CMakeLists
}

Scan history

Scanned at (UTC)SeverityRules
2026-10-26 11:44:54 Medium 1
2026-06-18 16:11:54 Clean 0

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion