contrib/physfs/Pkgfile
2019-10-13 18:34:46 +11:00

25 lines
483 B
Plaintext

# Description: Library to provide abstract access to various archives.
# URL: http://icculus.org/physfs/
# Maintainer: Danny Rawlins, crux at romster dot me
# Depends on: cmake readline
name=physfs
version=3.0.2
release=1
source=(https://icculus.org/$name/downloads/$name-$version.tar.bz2)
build() {
cd $name-$version
mkdir build
cd build
cmake .. \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DPHYSFS_BUILD_TEST=OFF
make
make DESTDIR=$PKG install
}