[arch-commits] Commit in coin/trunk (PKGBUILD)
Alexander Rødseth
arodseth at archlinux.org
Tue Feb 9 22:07:50 UTC 2021
Date: Tuesday, February 9, 2021 @ 22:07:50
Author: arodseth
Revision: 851799
Apply man page patch from upstream, to avoid man page name collisions
Modified:
coin/trunk/PKGBUILD
----------+
PKGBUILD | 20 ++++++++++++--------
1 file changed, 12 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-02-09 22:07:43 UTC (rev 851798)
+++ PKGBUILD 2021-02-09 22:07:50 UTC (rev 851799)
@@ -7,8 +7,8 @@
# Contributor: Marcus Fritzsch <fritschy at googlemail.com>
pkgname=coin
-pkgver='4.0.0.f4e446'
-pkgrel=1
+pkgver=4.0.0.f4e446
+pkgrel=2
pkgdesc='3D graphics library compatible with Open Inventor'
url='https://github.com/coin3d/coin'
license=(GPL)
@@ -19,9 +19,17 @@
'freetype2: dynamic linking support'
'openal: audio/dynamic linking support'
'zlib: dynamic linking support')
-source=("git+$url#commit=f4e446e3d510a880d1b7808fb7e45d781e8b8a4c") # 4.0.0 + fixes
-sha256sums=(SKIP)
+# f4e446e is the same as version 4.0.0 + patches
+source=("git+$url#commit=f4e446e3d510a880d1b7808fb7e45d781e8b8a4c"
+ 'man3.patch::https://github.com/coin3d/coin/commit/5a97506a7fa80c5ebcc8aa4685d5cd07b7d95bed.patch')
+sha256sums=(SKIP
+ 79a539ed890d628f1b87b38ef2b1f56ee3da6d61b3c900ffbb89effa3eb0d4a9)
+prepare() {
+ cd coin
+ patch -p1 -i ../man3.patch || true
+}
+
build() {
mkdir -p build
cd build
@@ -43,10 +51,6 @@
DESTDIR="$pkgdir" ninja -C build install
# Skip the HTML documentation
rm -rf "$pkgdir/usr/share/doc"
- # Rename some man pages
- for f in threads errors events; do
- mv -v "$pkgdir/usr/share/man/man3/$f.3" "$pkgdir/usr/share/man/man3/coin-$f.3"
- done
# Remove an empty directory
rmdir "$pkgdir/usr/share/Coin/profiler"
}
More information about the arch-commits
mailing list