[arch-commits] Commit in physfs/repos (4 files)

Antonio Rojas arojas at archlinux.org
Thu Oct 12 21:10:34 UTC 2017


    Date: Thursday, October 12, 2017 @ 21:10:32
  Author: arojas
Revision: 307802

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  physfs/repos/testing-i686/
  physfs/repos/testing-i686/PKGBUILD
    (from rev 307801, physfs/trunk/PKGBUILD)
  physfs/repos/testing-x86_64/
  physfs/repos/testing-x86_64/PKGBUILD
    (from rev 307801, physfs/trunk/PKGBUILD)

-------------------------+
 testing-i686/PKGBUILD   |   37 +++++++++++++++++++++++++++++++++++++
 testing-x86_64/PKGBUILD |   37 +++++++++++++++++++++++++++++++++++++
 2 files changed, 74 insertions(+)

Copied: physfs/repos/testing-i686/PKGBUILD (from rev 307801, physfs/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2017-10-12 21:10:32 UTC (rev 307802)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+
+pkgname=physfs
+pkgver=3.0.0
+pkgrel=1
+pkgdesc="A library to provide abstract access to various archives"
+arch=('i686' '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=('31ffa3625061fa41dc5e79951eb4a61c0a8b356d')
+
+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 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/testing-x86_64/PKGBUILD (from rev 307801, physfs/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2017-10-12 21:10:32 UTC (rev 307802)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+
+pkgname=physfs
+pkgver=3.0.0
+pkgrel=1
+pkgdesc="A library to provide abstract access to various archives"
+arch=('i686' '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=('31ffa3625061fa41dc5e79951eb4a61c0a8b356d')
+
+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 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"
+}



More information about the arch-commits mailing list