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

Sergej Pupykin spupykin at nymeria.archlinux.org
Mon May 13 11:08:06 EDT 2013


    Date: Monday, May 13, 2013 @ 17:08:05
  Author: spupykin
Revision: 90751

clean up

Modified:
  idesk/trunk/PKGBUILD

----------+
 PKGBUILD |   13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-13 15:02:06 UTC (rev 90750)
+++ PKGBUILD	2013-05-13 15:08:05 UTC (rev 90751)
@@ -16,17 +16,18 @@
 build() {
   cd $srcdir/$pkgname-$pkgver
 
+  sed -i \
+    -e '1,1i#include <unistd.h>' \
+    -e '1,1i#include <sys/stat.h>' \
+    -e '1,1i#include <sys/types.h>' \
+    src/DesktopConfig.cpp
+  sed -i 's#usr/local#usr#' examples/default.lnk
+
   ./configure --prefix=/usr
-
-  sed -i '1,1i#include <unistd.h>' src/DesktopConfig.cpp
-  sed -i '1,1i#include <sys/stat.h>' src/DesktopConfig.cpp
-  sed -i '1,1i#include <sys/types.h>' src/DesktopConfig.cpp
-
   make
 }
 
 package() {
   cd $srcdir/$pkgname-$pkgver
   make DESTDIR=$pkgdir install
-  sed -i 's#usr/local#usr#' $pkgdir/usr/share/idesk/default.lnk
 }



More information about the arch-commits mailing list