[arch-commits] Commit in physfs/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Thu Oct 12 21:10:02 UTC 2017
Date: Thursday, October 12, 2017 @ 21:10:01
Author: arojas
Revision: 307801
Update to 3.0.0
Modified:
physfs/trunk/PKGBUILD
----------+
PKGBUILD | 20 +++++---------------
1 file changed, 5 insertions(+), 15 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-10-12 20:27:06 UTC (rev 307800)
+++ PKGBUILD 2017-10-12 21:10:01 UTC (rev 307801)
@@ -2,8 +2,8 @@
# Maintainer: Eric Bélanger <eric at archlinux.org>
pkgname=physfs
-pkgver=2.0.3
-pkgrel=3
+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/"
@@ -10,25 +10,15 @@
license=('ZLIB')
depends=('zlib')
makedepends=('cmake' 'doxygen')
-source=(http://icculus.org/physfs/downloads/${pkgname}-${pkgver}.tar.bz2
- physfs-zlib.patch::https://hg.icculus.org/icculus/physfs/raw-diff/090cb9c74b87/archivers/zip.c)
-sha1sums=('327308c777009a41bbabb9159b18c4c0ac069537'
- 'f9ace6cc30ba0a636c343a43a69b5c6423afaee4')
+source=(http://icculus.org/physfs/downloads/${pkgname}-${pkgver}.tar.bz2)
+sha1sums=('31ffa3625061fa41dc5e79951eb4a61c0a8b356d')
-prepare() {
- cd $pkgname-$pkgver
- # port away from deprecated zlib API
- patch -p1 -i ../physfs-zlib.patch
- # don't use -Weerror, fixes build with GCC 7
- sed -e 's|-Werror||' -i CMakeLists.txt
-}
-
build() {
mkdir build
cd build
cmake ../${pkgname}-${pkgver} -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DPHYSFS_BUILD_TEST=OFF -DPHYSFS_BUILD_WX_TEST=OFF
+ -DPHYSFS_BUILD_TEST=OFF
make all docs
}
More information about the arch-commits
mailing list