[arch-commits] Commit in physfs/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Fri May 22 20:07:04 UTC 2020
Date: Friday, May 22, 2020 @ 20:07:03
Author: arojas
Revision: 631689
Rename deprecated man page (FS#66713)
Modified:
physfs/trunk/PKGBUILD
----------+
PKGBUILD | 24 +++++++++++-------------
1 file changed, 11 insertions(+), 13 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-05-22 20:06:56 UTC (rev 631688)
+++ PKGBUILD 2020-05-22 20:07:03 UTC (rev 631689)
@@ -1,8 +1,9 @@
-# Maintainer: Eric Bélanger <eric at archlinux.org>
+# Maintainer:
+# Contributor: Eric Bélanger <eric at archlinux.org>
pkgname=physfs
pkgver=3.0.2
-pkgrel=1
+pkgrel=2
pkgdesc="A library to provide abstract access to various archives"
arch=('x86_64')
url="https://icculus.org/physfs/"
@@ -13,24 +14,21 @@
sha1sums=('6a15c458898d0570101d8f173201cde9ced78df7')
build() {
- mkdir build
- cd build
- cmake ../${pkgname}-${pkgver} -DCMAKE_BUILD_TYPE=Release \
+ cmake -B build -S $pkgname-$pkgver \
-DCMAKE_INSTALL_PREFIX=/usr \
-DPHYSFS_BUILD_TEST=OFF
- make all docs
+ make -C build all docs
}
package() {
- cd build
- make DESTDIR="${pkgdir}" install
+ make DESTDIR="${pkgdir}" install -C build
install -d "${pkgdir}"/usr/share/{doc/physfs,man/man3}
- install -m644 docs/html/* "${pkgdir}/usr/share/doc/physfs"
- install -m644 docs/man/man3/* "${pkgdir}/usr/share/man/man3"
+ install -m644 build/docs/html/* "${pkgdir}/usr/share/doc/physfs"
+ install -m644 build/docs/man/man3/* "${pkgdir}/usr/share/man/man3"
- for i in author Deinit description extension Free Init major Malloc minor opaque patch Realloc remove url ; do
- mv "${pkgdir}/usr/share/man/man3/$i.3" "${pkgdir}/usr/share/man/man3/PHYSFS_$i.3"
+ for i in author Deinit deprecated description extension Free Init major Malloc minor opaque patch Realloc remove url ; do
+ mv "${pkgdir}"/usr/share/man/man3/{,PHYSFS_}$i.3
done
- install -D -m644 ../${pkgname}-${pkgver}/LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ install -D -m644 ${pkgname}-${pkgver}/LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
More information about the arch-commits
mailing list