summaryrefslogtreecommitdiff
path: root/community/idesk/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2013-06-20 15:25:33 -0300
committerNicolás Reynolds <fauno@endefensadelsl.org>2013-06-20 15:25:33 -0300
commitcebf33d7109e0157a80f34d6136e212f0a28d274 (patch)
treea6464302c970f72581105b50ff0896e1f56def3d /community/idesk/PKGBUILD
parent1a65caeb80e2cc8c7b39262d72255124d0c8614e (diff)
parent5cb95ceee39e4691f768ea2fef60b8a106e92209 (diff)
Merge branch 'master' of gparabola:abslibre-mips64el
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
}