Date: Friday, October 7, 2022 @ 09:52:55
Author: arodseth
Revision: 1323790
archrelease: copy trunk to community-x86_64
Added:
physfs/repos/community-x86_64/PKGBUILD
(from rev 1323789, physfs/trunk/PKGBUILD)
Deleted:
physfs/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 71 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 37 insertions(+), 34 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-10-07 09:52:49 UTC (rev 1323789)
+++ PKGBUILD 2022-10-07 09:52:55 UTC (rev 1323790)
@@ -1,34 +0,0 @@
-# Maintainer:
-# Contributor: Eric Bélanger <[email protected]>
-
-pkgname=physfs
-pkgver=3.0.2
-pkgrel=2
-pkgdesc="A library to provide abstract access to various archives"
-arch=('x86_64')
-url="https://icculus.org/physfs/"
-license=('ZLIB')
-depends=('zlib')
-makedepends=('cmake' 'doxygen')
-source=(https://icculus.org/physfs/downloads/${pkgname}-${pkgver}.tar.bz2)
-sha1sums=('6a15c458898d0570101d8f173201cde9ced78df7')
-
-build() {
- cmake -B build -S $pkgname-$pkgver \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DPHYSFS_BUILD_TEST=OFF
- make -C build all docs
-}
-
-package() {
- make DESTDIR="${pkgdir}" install -C build
- install -d "${pkgdir}"/usr/share/{doc/physfs,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 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"
-}
Copied: physfs/repos/community-x86_64/PKGBUILD (from rev 1323789,
physfs/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-10-07 09:52:55 UTC (rev 1323790)
@@ -0,0 +1,37 @@
+# Maintainer: Alexander F. Rødseth <[email protected]>
+# Contributor: Eric Bélanger <[email protected]>
+
+pkgname=physfs
+pkgver=3.2.0
+pkgrel=1
+pkgdesc='Portable and flexible I/O abstraction for archives'
+arch=(x86_64)
+url='https://icculus.org/physfs'
+license=(ZLIB)
+makedepends=(cmake doxygen git ninja)
+source=('git+https://github.com/icculus/physfs#commit=eb3383b532c5f74bfeb42ec306ba2cf80eed988c')
# tag: release-3.2.0
+b2sums=(SKIP)
+
+build() {
+ cmake \
+ -B build \
+ -D CMAKE_BUILD_TYPE=Release \
+ -D CMAKE_INSTALL_PREFIX=/usr \
+ -D PHYSFS_BUILD_TEST=OFF \
+ -G Ninja \
+ -S $pkgname
+ ninja -C build all docs
+}
+
+package() {
+ DESTDIR="$pkgdir" ninja -C build install
+ install -d "$pkgdir/usr/share/"{doc/physfs,man/man3}
+ install -m644 build/docs/html/* "$pkgdir/usr/share/doc/physfs"
+ install -m644 build/docs/man/man3/* "$pkgdir/usr/share/man/man3"
+ for name in Deinit Free Init Malloc Realloc author deprecated description \
+ extension major minor opaque patch remove url; do
+ mv "$pkgdir/usr/share/man/man3/"{,PHYSFS_}$name.3
+ done
+ install -D -m644 $pkgname/LICENSE.txt \
+ "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}