[arch-commits] Commit in mygui/trunk (PKGBUILD)
Sven-Hendrik Haase
svenstaro at nymeria.archlinux.org
Mon Dec 2 11:03:23 UTC 2013
Date: Monday, December 2, 2013 @ 12:03:22
Author: svenstaro
Revision: 101852
Clean up PKGBUILD
Modified:
mygui/trunk/PKGBUILD
----------+
PKGBUILD | 20 ++++----------------
1 file changed, 4 insertions(+), 16 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-12-02 10:57:13 UTC (rev 101851)
+++ PKGBUILD 2013-12-02 11:03:22 UTC (rev 101852)
@@ -38,27 +38,17 @@
-DMYGUI_INSTALL_DOCS=TRUE \
-DMYGUI_INSTALL_MEDIA=TRUE \
-DFREETYPE_INCLUDE_DIR=/usr/include/freetype2/ \
- -DCMAKE_BUILD_TYPE=Release # set=Debug for debugging version
-# -DFREETYPE_INCLUDE_DIRS=/usr/include/freetype2/ \
-# -DFREETYPE_INCLUDE_DIR=/usr/include/freetype2/ \
+ -DCMAKE_BUILD_TYPE=Release
- # compile
make
-
- # generate docs
- if [[ $(which dot) && $(which doxygen) ]]; then
- make api-docs 2>/dev/null
- fi
+ make api-docs
}
package_mygui() {
optdepends=('mygui-docs: documentation')
- cd $srcdir/MyGUI_$pkgver
+ cd $srcdir/MyGUI_$pkgver/build
- cd build
-
- # install the whole bunch
make DESTDIR="$pkgdir" install
# make demos work
@@ -70,10 +60,8 @@
pkgdesc="Documentation for mygui"
depends=()
- cd $srcdir/MyGUI_$pkgver
+ cd $srcdir/MyGUI_$pkgver/build
- cd build
-
# install docs
install -d $pkgdir/usr/share/doc/
cp -r Docs/html $pkgdir/usr/share/doc/MYGUI
More information about the arch-commits
mailing list