summaryrefslogtreecommitdiff
path: root/community/idesk/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/idesk/PKGBUILD')
-rw-r--r--community/idesk/PKGBUILD20
1 files changed, 12 insertions, 8 deletions
diff --git a/community/idesk/PKGBUILD b/community/idesk/PKGBUILD
index b84f8768b..abbb694e7 100644
--- a/community/idesk/PKGBUILD
+++ b/community/idesk/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 65602 2012-02-21 09:26:32Z spupykin $
+# $Id: PKGBUILD 90753 2013-05-13 15:08:30Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Claudio Sabattoli <gasherbrum3@alice.it>
@@ -16,14 +16,18 @@ md5sums=('beb48c97815c7b085e3b3d601297fbb8')
build() {
cd $srcdir/$pkgname-$pkgver
- ./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
+ 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
make
- make DESTDIR=$pkgdir install
+}
- sed -i 's#usr/local#usr#' $pkgdir/usr/share/idesk/default.lnk
+package() {
+ cd $srcdir/$pkgname-$pkgver
+ make DESTDIR=$pkgdir install
}