git » physfs.git » commit 33b307d

package update

author Daniel Griffiths
2009-08-14 01:36:33 UTC
committer Daniel Griffiths
2009-08-14 01:36:33 UTC
parent e35d21f48b19ce293179f46f44066c9402a0a1e5

package update

PKGBUILD +4 -1

diff --git a/PKGBUILD b/PKGBUILD
index c3b2500..04235d2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
 # Maintainer: Mateusz Herych <heniekk@gmail.com>
 pkgname=physfs
 pkgver=2.0.0
-pkgrel=1
+pkgrel=2
 pkgdesc="A library to provide abstract access to various archives."
 arch=('i686' 'x86_64')
 url="http://icculus.org/physfs/"
@@ -14,7 +14,10 @@ md5sums=('cfc53e0c193914c9c5ab522e58737373')
 
 build() {
     cd $startdir/src/$pkgname-$pkgver
+    export CFLAGS="$CFLAGS -fno-strict-aliasing"
+    export CXXFLAGS="$CXXFLAGS -fno-strict-aliasing"
     cmake . -DCMAKE_INSTALL_PREFIX=/usr || return 1
     make || return 1
     make DESTDIR=$startdir/pkg install
+    install -Dm644 LICENSE.txt ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
 }