[arch-commits] Commit in physfs/repos/community-x86_64 (PKGBUILD PKGBUILD)

Antonio Rojas arojas at archlinux.org
Fri May 22 20:08:36 UTC 2020


    Date: Friday, May 22, 2020 @ 20:08:34
  Author: arojas
Revision: 631692

archrelease: copy trunk to community-x86_64

Added:
  physfs/repos/community-x86_64/PKGBUILD
    (from rev 631691, physfs/trunk/PKGBUILD)
Deleted:
  physfs/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   70 +++++++++++++++++++++++++++++--------------------------------
 1 file changed, 34 insertions(+), 36 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-22 20:07:31 UTC (rev 631691)
+++ PKGBUILD	2020-05-22 20:08:34 UTC (rev 631692)
@@ -1,36 +0,0 @@
-# Maintainer: Eric Bélanger <eric at archlinux.org>
-
-pkgname=physfs
-pkgver=3.0.2
-pkgrel=1
-pkgdesc="A library to provide abstract access to various archives"
-arch=('x86_64')
-url="http://icculus.org/physfs/"
-license=('ZLIB')
-depends=('zlib')
-makedepends=('cmake' 'doxygen')
-source=(http://icculus.org/physfs/downloads/${pkgname}-${pkgver}.tar.bz2)
-sha1sums=('6a15c458898d0570101d8f173201cde9ced78df7')
-
-build() {
-  mkdir build
-  cd build
-  cmake ../${pkgname}-${pkgver} -DCMAKE_BUILD_TYPE=Release \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DPHYSFS_BUILD_TEST=OFF
-  make all docs
-}
-
-package() {
-  cd build
-  make DESTDIR="${pkgdir}" install
-  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"
-
-  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"
-  done
-
-  install -D -m644 ../${pkgname}-${pkgver}/LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}

Copied: physfs/repos/community-x86_64/PKGBUILD (from rev 631691, physfs/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-05-22 20:08:34 UTC (rev 631692)
@@ -0,0 +1,34 @@
+# Maintainer:
+# Contributor: Eric Bélanger <eric at archlinux.org>
+
+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"
+}



More information about the arch-commits mailing list