# Description: Library to provide abstract access to various archives. # URL: http://icculus.org/physfs/ # Maintainer: Danny Rawlins, monster dot romster at gmail dot com # Packager: Mark Rosenstand, mark at borkware dot net # Depends on: cmake readline zlib name=physfs version=2.0.2 release=1 source=(http://icculus.org/$name/downloads/$name-$version.tar.gz) build() { cd $name-$version sed -i -e 's|-Werror||' CMakeLists.txt cmake \ -DPHYSFS_BUILD_STATIC=FALSE \ -DCMAKE_INSTALL_PREFIX=/usr . make make DESTDIR=$PKG install }