[arch-commits] Commit in live-media/trunk (PKGBUILD)

Giovanni Scafora giovanni at archlinux.org
Sun Feb 19 11:50:33 EST 2012


    Date: Sunday, February 19, 2012 @ 11:50:32
  Author: giovanni
Revision: 150661

upgpkg: live-media 2012.02.04-2

Fixed installation path

Modified:
  live-media/trunk/PKGBUILD

----------+
 PKGBUILD |   23 +++++++++++++++--------
 1 file changed, 15 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-02-19 15:39:00 UTC (rev 150660)
+++ PKGBUILD	2012-02-19 16:50:32 UTC (rev 150661)
@@ -4,7 +4,7 @@
 
 pkgname=live-media
 pkgver=2012.02.04
-pkgrel=1
+pkgrel=2
 pkgdesc="A set of C++ libraries for multimedia streaming"
 arch=('i686' 'x86_64')
 license=('LGPL')
@@ -16,11 +16,11 @@
 build() {
   cd ${srcdir}/live
 
-   sed \
-       -e 's/$(INCLUDES) -I. -O2 -DSOCKLEN_T/$(INCLUDES) -I. -O2 -I. -fPIC -DSOCKLEN_T/g' \
-       -e 's/\(LIBRARY_LINK =\).*/\1 $(LD) -o/g' \
-       -e 's/\(LIBRARY_LINK_OPTS =\).*/\1 $(LINK_OPTS) -r -Bstatic/g' \
-       -i config.linux
+  sed \
+      -e 's/$(INCLUDES) -I. -O2 -DSOCKLEN_T/$(INCLUDES) -I. -O2 -I. -fPIC -DSOCKLEN_T/g' \
+      -e 's/\(LIBRARY_LINK =\).*/\1 $(LD) -o/g' \
+      -e 's/\(LIBRARY_LINK_OPTS =\).*/\1 $(LINK_OPTS) -r -Bstatic/g' \
+      -i config.linux
   ./genMakefiles linux
   make
 }
@@ -29,10 +29,17 @@
   cd ${srcdir}/live
 
   for dir in BasicUsageEnvironment UsageEnvironment groupsock liveMedia; do
-    mkdir -p ${pkgdir}/usr/lib/live/${dir}
-    cp -r ${dir}/*.a ${dir}/include ${pkgdir}/usr/lib/live/${dir}
+    mkdir -p ${pkgdir}/usr/lib/
+    install -m644 ${dir}/*.a ${pkgdir}/usr/lib
   done
 
+  for dir in BasicUsageEnvironment UsageEnvironment groupsock liveMedia; do
+    mkdir -p ${pkgdir}/usr/include/${dir}
+    install -m644 ${dir}/include/*.hh ${pkgdir}/usr/include/${dir}
+  done
+
+  install -m644 groupsock/include/*.h ${pkgdir}/usr/include/groupsock
+
   mkdir -p ${pkgdir}/usr/bin
   for testprog in `find testProgs -type f -perm 755`; do
     install ${testprog} ${pkgdir}/usr/bin



More information about the arch-commits mailing list