[arch-commits] Commit in gigi/trunk (PKGBUILD)
Alexander Rødseth
arodseth at nymeria.archlinux.org
Wed Feb 6 12:43:11 UTC 2013
Date: Wednesday, February 6, 2013 @ 13:43:11
Author: arodseth
Revision: 83896
upgpkg: gigi 0.8.0-17
Modified:
gigi/trunk/PKGBUILD
----------+
PKGBUILD | 16 +++++++++-------
1 file changed, 9 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-02-06 12:19:26 UTC (rev 83895)
+++ PKGBUILD 2013-02-06 12:43:11 UTC (rev 83896)
@@ -7,10 +7,11 @@
pkgname=gigi
pkgver=0.8.0
-pkgrel=16
-_fixedrevision=5407 # 5208
-pkgdesc='Small, efficient and feature rich GUI for C++ and OpenGL (freeorion fork)'
-url="http://gigi.sourceforge.net/"
+pkgrel=17
+_fixedrevision=5407
+pkgdesc='Small, efficient and feature rich GUI for OpenGL and C++ (freeorion fork)'
+url='http://freeorion.svn.sourceforge.net/viewvc/freeorion/trunk/FreeOrion/GG/'
+#url='http://gigi.sourceforge.net/'
arch=('x86_64' 'i686')
license=('LGPL')
depends=('boost' 'libpng' 'libtiff' 'ogre' 'sdl' 'python')
@@ -36,11 +37,11 @@
setconf cmake/GiGiOgre.pc.in prefix /usr
setconf cmake/GiGi.pc.in prefix /usr
setconf cmake/GiGiSDL.pc.in prefix /usr
-
- cmake \
+ # It would be better if CMAKE_INSTALL_PREFIX or the resulting Makefiles
+ # could be re-configured in the package() function, but this works too.
+ cmake -D CMAKE_INSTALL_PREFIX="$srcdir/pkg/usr" \
-D BUILD_TUTORIALS=OFF \
-D CPACK_GENERATOR=GiGiDevel \
- -D CMAKE_INSTALL_PREFIX="$srcdir/pkg/usr" \
-D CMAKE_C_FLAGS_RELEASE='-DNDEBUG' \
.
@@ -59,6 +60,7 @@
msg2 'Packaging files...'
make install
+ msg2 'Moving files to the right location...'
mv -v "$srcdir/pkg/usr" "$pkgdir/"
msg2 'Fixing documentation...'
More information about the arch-commits
mailing list