[arch-commits] Commit in ardour/repos/extra-x86_64 (6 files)

2013-02-03 Thread Ray Rashif
Date: Sunday, February 3, 2013 @ 15:59:10
  Author: schiv
Revision: 176990

archrelease: copy trunk to extra-x86_64

Added:
  ardour/repos/extra-x86_64/PKGBUILD
(from rev 176989, ardour/trunk/PKGBUILD)
  ardour/repos/extra-x86_64/ardour.changelog
(from rev 176989, ardour/trunk/ardour.changelog)
  ardour/repos/extra-x86_64/ardour.desktop
(from rev 176989, ardour/trunk/ardour.desktop)
Deleted:
  ardour/repos/extra-x86_64/PKGBUILD
  ardour/repos/extra-x86_64/ardour.changelog
  ardour/repos/extra-x86_64/ardour.desktop

--+
 PKGBUILD |  133 ++---
 ardour.changelog |  110 +--
 ardour.desktop   |   18 +++
 3 files changed, 130 insertions(+), 131 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2013-02-03 14:56:35 UTC (rev 176989)
+++ PKGBUILD2013-02-03 14:59:10 UTC (rev 176990)
@@ -1,67 +0,0 @@
-# $Id$
-# Maintainer: Ray Rashif 
-# Contributor: tobias 
-# Contributor: Giovanni Scafora 
-
-# ardour, liblrdf and raptor are heavily dependent on each other. Updating of
-# one package mostly will require an update of all the other packages. I vote
-# for fixed dependencies speaking in terms of versions -- tobias
-
-# SYSLIBS enabled, support still valid; see ardour 2.8.13 rel notes
-# http://ardour.org/node/5263
-
-pkgname=ardour
-pkgver=2.8.16
-pkgrel=1
-pkgdesc="A multichannel hard disk recorder and digital audio workstation"
-arch=('i686' 'x86_64')
-url="http://ardour.org/";
-license=('GPL')
-depends=('liblrdf' 'libusb-compat' 'liblo' 'soundtouch'
- 'aubio' 'lilv' 'suil' 'libgnomecanvasmm')
- # -libgnomecanvas(+libgnomecanvasmm)
- # +soundtouch (these +/- changes are for SYSLIBS=1)
- # cwiid removed for https://bugs.archlinux.org/task/28344
-makedepends=('scons' 'boost')
-changelog=$pkgname.changelog
-source=("ftp://ftp.archlinux.org/other/ardour/$pkgname-$pkgver.tar.bz2";
-"$pkgname.desktop")
-md5sums=('5bafe41df00d25e7a357baaa1038f16d'
- '8aeaf433ebf781733db48e5a16b0c4da')
-
-build() {
-  cd "$srcdir/$pkgname-$pkgver"
-
-  # ardour defaults to -O3; use this in CFLAGS below
-  sed -i '/-O3/d' SConstruct
-
-  # work around boost linking error (see ardour3 svn r13081)
-  # thanks to Harry Harren for the heads-up
-  CFLAGS+=" -DBOOST_SYSTEM_NO_DEPRECATED"
-  CXXFLAGS+=" -DBOOST_SYSTEM_NO_DEPRECATED"
-  export CFLAGS CXXFLAGS
-
-  scons $MAKEFLAGS ARCH="${CFLAGS/-O[0-9]/-O3}" \
-   PREFIX="/usr" \
-   DIST_LIBDIR="lib" \
-   FREEDESKTOP=0 \
-   FREESOUND=1 \
-   SYSLIBS=1 \
-   DESTDIR="$pkgdir"
-}
-
-package() {
-  cd "$srcdir/$pkgname-$pkgver"
-
-  scons DESTDIR="$pkgdir" install
-
-  # install some freedesktop.org compatibility
-  install -Dm644 "$srcdir/$pkgname.desktop" \
-"$pkgdir/usr/share/applications/$pkgname.desktop"
-
-  # upstream will not do this
-  # install templates
-  cp -r templates "$pkgdir/usr/share/ardour2/"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: ardour/repos/extra-x86_64/PKGBUILD (from rev 176989, 
ardour/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2013-02-03 14:59:10 UTC (rev 176990)
@@ -0,0 +1,66 @@
+# $Id$
+# Maintainer: Ray Rashif 
+# Contributor: tobias 
+# Contributor: Giovanni Scafora 
+
+# ardour, liblrdf and raptor are heavily dependent on each other. Updating of
+# one package mostly will require an update of all the other packages. I vote
+# for fixed dependencies speaking in terms of versions -- tobias
+
+# SYSLIBS enabled, support still valid; see ardour 2.8.13 rel notes
+# http://ardour.org/node/5263
+
+pkgname=ardour
+pkgver=2.8.16
+pkgrel=1
+pkgdesc="A multichannel hard disk recorder and digital audio workstation"
+arch=('i686' 'x86_64')
+url="http://ardour.org/";
+license=('GPL')
+depends=('liblrdf' 'libusb-compat' 'liblo' 'soundtouch'
+ 'aubio' 'lilv' 'suil' 'libgnomecanvasmm')
+ # -libgnomecanvas(+libgnomecanvasmm)
+ # +soundtouch (these +/- changes are for SYSLIBS=1)
+ # cwiid removed for https://bugs.archlinux.org/task/28344
+makedepends=('scons' 'boost')
+changelog=$pkgname.changelog
+source=("ftp://ftp.archlinux.org/other/ardour/$pkgname-$pkgver.tar.bz2";
+"$pkgname.desktop")
+md5sums=('5bafe41df00d25e7a357baaa1038f16d'
+ '8aeaf433ebf781733db48e5a16b0c4da')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  # ardour defaults to -O3; use this in CFLAGS below
+  sed -i '/-O3/d' SConstruct
+
+  # work around boost linking error (see ardour3 svn r13081)
+  # thanks to Harry Harren for the heads-up
+  CFLAGS+=" -DBOOST_SYSTEM_NO_DEPRECATED"
+  CXXFLAGS+=" -DBOOST_SYSTEM_NO_DEPRECATED"
+  export CFLAGS CXXFLAGS
+
+  scons $MAKEFLAGS ARCH="${CFLAGS/-O[0-9]/-O3}" \
+   PRE

[arch-commits] Commit in ardour/repos (extra-x86_64)

2011-08-10 Thread Ray Rashif
Date: Wednesday, August 10, 2011 @ 16:28:53
  Author: schiv
Revision: 135181

archrelease: copy trunk to extra-x86_64

Added:
  ardour/repos/extra-x86_64/



[arch-commits] Commit in ardour/repos (extra-x86_64)

2011-08-10 Thread Ray Rashif
Date: Wednesday, August 10, 2011 @ 16:28:34
  Author: schiv
Revision: 135180

archrelease: remove extra-x86_64

Deleted:
  ardour/repos/extra-x86_64/



[arch-commits] Commit in ardour/repos (extra-x86_64 testing-x86_64)

2011-07-27 Thread Ray Rashif
Date: Wednesday, July 27, 2011 @ 05:12:16
  Author: schiv
Revision: 133061

db-move: moved ardour from [testing] to [extra] (x86_64)

Added:
  ardour/repos/extra-x86_64/
Deleted:
  ardour/repos/testing-x86_64/



[arch-commits] Commit in ardour/repos (extra-x86_64)

2011-07-27 Thread Ray Rashif
Date: Wednesday, July 27, 2011 @ 05:12:16
  Author: schiv
Revision: 133060

db-move: ardour removed by schiv for move to [extra] (x86_64)

Deleted:
  ardour/repos/extra-x86_64/



[arch-commits] Commit in ardour/repos (extra-x86_64 testing-x86_64)

2011-07-09 Thread Ray Rashif
Date: Saturday, July 9, 2011 @ 19:43:40
  Author: schiv
Revision: 131064

db-move: moved ardour from [testing] to [extra] (x86_64)

Added:
  ardour/repos/extra-x86_64/
Deleted:
  ardour/repos/testing-x86_64/



[arch-commits] Commit in ardour/repos (extra-x86_64)

2011-07-09 Thread Ray Rashif
Date: Saturday, July 9, 2011 @ 19:43:39
  Author: schiv
Revision: 131063

db-move: ardour removed by schiv for move to [extra] (x86_64)

Deleted:
  ardour/repos/extra-x86_64/



[arch-commits] Commit in ardour/repos (extra-x86_64 testing-x86_64)

2011-04-28 Thread andyrtr
Date: Friday, April 29, 2011 @ 01:33:35
  Author: andyrtr
Revision: 121150

db-move: moved ardour from [testing] to [extra] (x86_64)

Added:
  ardour/repos/extra-x86_64/
Deleted:
  ardour/repos/testing-x86_64/



[arch-commits] Commit in ardour/repos (extra-x86_64)

2011-04-28 Thread andyrtr
Date: Friday, April 29, 2011 @ 01:33:34
  Author: andyrtr
Revision: 121149

db-move: ardour removed by andyrtr for move to [extra] (x86_64)

Deleted:
  ardour/repos/extra-x86_64/



[arch-commits] Commit in ardour/repos (extra-x86_64 testing-x86_64)

2010-12-07 Thread Tobias Powalowski
Date: Tuesday, December 7, 2010 @ 15:42:16
  Author: tpowa
Revision: 102446

db-move: moved ardour from [testing] to [extra] (x86_64)

Added:
  ardour/repos/extra-x86_64/
Deleted:
  ardour/repos/testing-x86_64/



[arch-commits] Commit in ardour/repos (extra-x86_64)

2010-12-07 Thread Tobias Powalowski
Date: Tuesday, December 7, 2010 @ 15:42:15
  Author: tpowa
Revision: 102445

db-move: ardour removed by tpowa for move to [extra] (x86_64)

Deleted:
  ardour/repos/extra-x86_64/



[arch-commits] Commit in ardour/repos (extra-x86_64)

2010-10-05 Thread Ray Rashif
Date: Tuesday, October 5, 2010 @ 18:25:58
  Author: schiv
Revision: 94266

archrelease: copy trunk to extra-x86_64

Added:
  ardour/repos/extra-x86_64/



[arch-commits] Commit in ardour/repos (extra-x86_64)

2010-10-05 Thread Ray Rashif
Date: Tuesday, October 5, 2010 @ 18:25:46
  Author: schiv
Revision: 94265

archrelease: remove extra-x86_64

Deleted:
  ardour/repos/extra-x86_64/



[arch-commits] Commit in ardour/repos (extra-x86_64 testing-x86_64)

2010-08-13 Thread Ray Rashif
Date: Friday, August 13, 2010 @ 13:41:04
  Author: schiv
Revision: 87445

db-move: moved ardour from [testing] to [extra] (x86_64)

Added:
  ardour/repos/extra-x86_64/
Deleted:
  ardour/repos/testing-x86_64/



[arch-commits] Commit in ardour/repos (extra-x86_64)

2010-08-13 Thread Ray Rashif
Date: Friday, August 13, 2010 @ 13:41:02
  Author: schiv
Revision: 87444

db-move: ardour removed by schiv for move to extra

Deleted:
  ardour/repos/extra-x86_64/



[arch-commits] Commit in ardour/repos (extra-x86_64 extra-x86_64/PKGBUILD)

2010-02-07 Thread Giovanni Scafora
Date: Sunday, February 7, 2010 @ 15:23:32
  Author: giovanni
Revision: 67516

Merged revisions 67514 via svnmerge from 
svn+ssh://gerolde.archlinux.org/srv/svn-packages/ardour/trunk


  r67514 | giovanni | 2010-02-07 21:20:57 +0100 (dom, 07 feb 2010) | 2 lines
  
  upgpkg: ardour 2.8.7-1
  upstream release


Modified:
  ardour/repos/extra-x86_64/(properties)
  ardour/repos/extra-x86_64/PKGBUILD

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


Property changes on: ardour/repos/extra-x86_64
___
Modified: svnmerge-integrated
   - /ardour/trunk:1-66588
   + /ardour/trunk:1-67515

Modified: extra-x86_64/PKGBUILD
===
--- extra-x86_64/PKGBUILD   2010-02-07 20:21:38 UTC (rev 67515)
+++ extra-x86_64/PKGBUILD   2010-02-07 20:23:32 UTC (rev 67516)
@@ -7,7 +7,7 @@
 # for fixed dependencies speaking in terms of versions
 
 pkgname=ardour
-pkgver=2.8.6
+pkgver=2.8.7
 pkgrel=1
 pkgdesc="A multichannel hard disk recorder and digital audio workstation"
 arch=('i686' 'x86_64')
@@ -18,7 +18,7 @@
 install=${pkgname}.install
 source=(ftp://ftp.archlinux.org/other/ardour/${pkgname}-${pkgver}.tar.bz2
 ${pkgname}.desktop)
-md5sums=('24c58ca96af2b775d1b7beac4c552db8'
+md5sums=('77fbcf4d472c9567da367274bdc6b53d'
  '8aeaf433ebf781733db48e5a16b0c4da')
 
 build() {
@@ -29,7 +29,7 @@
 PREFIX="/usr" \
 NLS=1 \
 FREEDESKTOP=0 \
-SYSLIBS=1 \
+SYSLIBS=0 \
 VST=0 \
 WIIMOTE=0 \
 LV2=0 \
@@ -43,7 +43,7 @@
   scons PREFIX="/usr" \
 NLS=1 \
 FREEDESKTOP=0 \
-SYSLIBS=1 \
+SYSLIBS=0 \
 VST=0 \
 WIIMOTE=0 \
 LV2=0 \



[arch-commits] Commit in ardour/repos (extra-x86_64 extra-x86_64/PKGBUILD)

2010-01-31 Thread Giovanni Scafora
Date: Sunday, January 31, 2010 @ 18:33:35
  Author: giovanni
Revision: 66589

Merged revisions 66587 via svnmerge from 
svn+ssh://gerolde.archlinux.org/srv/svn-packages/ardour/trunk


  r66587 | giovanni | 2010-02-01 00:31:02 +0100 (lun, 01 feb 2010) | 2 lines
  
  upgpkg: ardour 2.8.6-1
  upstream release


Modified:
  ardour/repos/extra-x86_64/(properties)
  ardour/repos/extra-x86_64/PKGBUILD

--+
 PKGBUILD |9 -
 1 file changed, 4 insertions(+), 5 deletions(-)


Property changes on: ardour/repos/extra-x86_64
___
Modified: svnmerge-integrated
   - /ardour/trunk:1-59021
   + /ardour/trunk:1-66588

Modified: extra-x86_64/PKGBUILD
===
--- extra-x86_64/PKGBUILD   2010-01-31 23:31:43 UTC (rev 66588)
+++ extra-x86_64/PKGBUILD   2010-01-31 23:33:35 UTC (rev 66589)
@@ -7,19 +7,18 @@
 # for fixed dependencies speaking in terms of versions
 
 pkgname=ardour
-pkgver=2.8.4
+pkgver=2.8.6
 pkgrel=1
 pkgdesc="A multichannel hard disk recorder and digital audio workstation"
 arch=('i686' 'x86_64')
 url="http://ardour.org";
 license=('GPL2')
-depends=('liblrdf>=0.4.0-5' 'liblrdf<0.4.1' 'libgnomecanvasmm>=2.26.0'
- 'liblo>=0.26' 'aubio' 'libusb>=0.1.12' 'aubio>=0.3.2')
-makedepends=('scons' 'boost' 'pkgconfig' 'soundtouch>=1.4.0-2')
+depends=('liblrdf' 'libgnomecanvasmm' 'liblo' 'aubio' 'libusb')
+makedepends=('scons' 'boost' 'pkgconfig' 'soundtouch')
 install=${pkgname}.install
 source=(ftp://ftp.archlinux.org/other/ardour/${pkgname}-${pkgver}.tar.bz2
 ${pkgname}.desktop)
-md5sums=('7ab850e9153bb4282f2ed95aad152805'
+md5sums=('24c58ca96af2b775d1b7beac4c552db8'
  '8aeaf433ebf781733db48e5a16b0c4da')
 
 build() {



[arch-commits] Commit in ardour/repos (extra-x86_64 extra-x86_64/100_syslibs.patch)

2009-11-19 Thread Giovanni Scafora
Date: Thursday, November 19, 2009 @ 06:14:58
  Author: giovanni
Revision: 59022

Merged revisions 59020 via svnmerge from 
svn+ssh://gerolde.archlinux.org/srv/svn-packages/ardour/trunk


  r59020 | giovanni | 2009-11-19 03:13:14 -0800 (gio, 19 nov 2009) | 1 line


Modified:
  ardour/repos/extra-x86_64/(properties)
Deleted:
  ardour/repos/extra-x86_64/100_syslibs.patch

---+
 100_syslibs.patch |   53 
 1 file changed, 53 deletions(-)


Property changes on: ardour/repos/extra-x86_64
___
Modified: svnmerge-integrated
   - /ardour/trunk:1-59009
   + /ardour/trunk:1-59021

Deleted: extra-x86_64/100_syslibs.patch
===
--- extra-x86_64/100_syslibs.patch  2009-11-19 11:14:08 UTC (rev 59021)
+++ extra-x86_64/100_syslibs.patch  2009-11-19 11:14:58 UTC (rev 59022)
@@ -1,53 +0,0 @@
-
-diff --git a/SConstruct b/SConstruct
-index e7df3c7..3b3cb35 100644
 a/SConstruct
-+++ b/SConstruct
-@@ -504,8 +504,8 @@ libraries = { }
- 
- libraries['core'] = LibraryInfo (CCFLAGS = '-Ilibs')
- 
--#libraries['sndfile'] = LibraryInfo()
--#libraries['sndfile'].ParseConfig('pkg-config --cflags --libs sndfile')
-+libraries['sndfile-ardour'] = LibraryInfo()
-+libraries['sndfile-ardour'].ParseConfig('pkg-config --cflags --libs sndfile')
- 
- libraries['lrdf'] = LibraryInfo()
- libraries['lrdf'].ParseConfig('pkg-config --cflags --libs lrdf')
-@@ -1089,10 +1088,6 @@ if env['SYSLIBS']:
- # cannot use system one for the time being
- #
- 
--libraries['sndfile-ardour'] = LibraryInfo(LIBS='libsndfile-ardour',
--LIBPATH='#libs/libsndfile',
--CPPPATH=['#libs/libsndfile/src'])
--
- #libraries['libglademm'] = LibraryInfo()
- #libraries['libglademm'].ParseConfig ('pkg-config --cflags --libs 
libglademm-2.4')
- 
-@@ -1112,7 +1107,6 @@ if env['SYSLIBS']:
- ]
- 
- subdirs = [
--'libs/libsndfile',
- 'libs/pbd',
- 'libs/midi++2',
- 'libs/ardour',
-@@ -1165,9 +1158,6 @@ else:
- libraries['soundtouch'] = LibraryInfo(LIBS='soundtouch',
-   LIBPATH='#libs/soundtouch',
-   CPPPATH=['#libs', 
'#libs/soundtouch'])
--libraries['sndfile-ardour'] = LibraryInfo(LIBS='libsndfile-ardour',
--LIBPATH='#libs/libsndfile',
--CPPPATH=['#libs/libsndfile', 
'#libs/libsndfile/src'])
- #libraries['libglademm'] = LibraryInfo(LIBS='libglademm',
- #  LIBPATH='#libs/libglademm',
- #  CPPPATH='#libs/libglademm')
-@@ -1182,7 +1172,6 @@ else:
- 
- subdirs = [
- 'libs/sigc++2',
--'libs/libsndfile',
- 'libs/pbd',
- 'libs/midi++2',
- 'libs/ardour',



[arch-commits] Commit in ardour/repos (extra-x86_64 extra-x86_64/PKGBUILD)

2009-11-19 Thread Giovanni Scafora
Date: Thursday, November 19, 2009 @ 05:34:15
  Author: giovanni
Revision: 59010

Merged revisions 59009 via svnmerge from 
svn+ssh://gerolde.archlinux.org/srv/svn-packages/ardour/trunk


  r59009 | giovanni | 2009-11-19 02:33:32 -0800 (gio, 19 nov 2009) | 2 lines
  
  upgpkg: ardour 2.8.4-1
  upstream release


Modified:
  ardour/repos/extra-x86_64/(properties)
  ardour/repos/extra-x86_64/PKGBUILD

--+
 PKGBUILD |   69 -
 1 file changed, 37 insertions(+), 32 deletions(-)


Property changes on: ardour/repos/extra-x86_64
___
Modified: svnmerge-integrated
   - /ardour/trunk:1-37537
   + /ardour/trunk:1-59009

Modified: extra-x86_64/PKGBUILD
===
--- extra-x86_64/PKGBUILD   2009-11-19 10:33:32 UTC (rev 59009)
+++ extra-x86_64/PKGBUILD   2009-11-19 10:34:15 UTC (rev 59010)
@@ -1,55 +1,60 @@
 # $Id$
 # Maintainer: tobias 
-# Contributor: ... let's say it was teamwork ...
+# Contributor: Giovanni Scafora 
 
 # ardour, liblrdf and raptor are heavily dependent on each other. Updating of
 # one package mostly will require an update of all the other packages. I vote
 # for fixed dependencies speaking in terms of versions
 
 pkgname=ardour
-pkgver=2.8
+pkgver=2.8.4
 pkgrel=1
 pkgdesc="A multichannel hard disk recorder and digital audio workstation"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64')
+url="http://ardour.org";
 license=('GPL2')
-url="http://ardour.org";
-depends=('liblrdf>=0.4.0-5'
- 'ladspa>=1.13' 'libgnomecanvasmm>=2.26.0'
- 'liblo>=0.25' 'libusb>=0.1.12' 'aubio>=0.3.2' 'libsndfile>=1.0.19')
-makedepends=('scons' 'boost' 'soundtouch')
+depends=('liblrdf>=0.4.0-5' 'liblrdf<0.4.1' 'libgnomecanvasmm>=2.26.0'
+ 'liblo>=0.26' 'aubio' 'libusb>=0.1.12' 'aubio>=0.3.2')
+makedepends=('scons' 'boost' 'pkgconfig' 'soundtouch>=1.4.0-2')
 install=${pkgname}.install
 source=(ftp://ftp.archlinux.org/other/ardour/${pkgname}-${pkgver}.tar.bz2
-${pkgname}.desktop
-   100_syslibs.patch)
-md5sums=('24bd768dbe08f1f2724dc97704ee0518'
- '8aeaf433ebf781733db48e5a16b0c4da'
-'98b6f1d56af73b18f126b200456ce312')
+${pkgname}.desktop)
+md5sums=('7ab850e9153bb4282f2ed95aad152805'
+ '8aeaf433ebf781733db48e5a16b0c4da')
 
 build() {
-  # start building ardour now
   cd "${srcdir}/${pkgname}-${pkgver}"
-  patch -Np1 -i "${srcdir}/100_syslibs.patch" || return 1
-  sed -i -e "s@/configure@& --prefix=/u...@g" libs/libsndfile/SConscript || 
return 1
-  sed -i -e "s/lib64/lib/g" SConstruct || return 1
-  sed -i "s/_protocol.h>/\0\n#include /g" 
libs/surfaces/tranzport/screen.cc || return 1
+  sed -i '/-O3/d' SConstruct || return 1
 
-  # force -O2 from the CFLAGS in makepkg.conf
-  sed -i '/-O3/d' SConstruct || return 1
-  scons ARCH="${CFLAGS}" \
+  scons $MAKEFLAGS ARCH="$CFLAGS" \
 PREFIX="/usr" \
-   NLS=yes \
-   FREEDESKTOP=no \
-   NJOBS="${MAKEFLAGS}" \
-   SYSLIBS=yes \
-   VST=0 \
+NLS=1 \
+FREEDESKTOP=0 \
+SYSLIBS=1 \
+VST=0 \
+WIIMOTE=0 \
+LV2=0 \
+FREESOUND=1 \
+LIBLO=1 \
+AUBIO=1 \
+TRANZPORT=1 \
+DIST_LIBDIR=lib \
 DESTDIR="${pkgdir}" || return 1
+
   scons PREFIX="/usr" \
-   NLS=yes \
-   FREEDESKTOP=no \
-   SYSLIBS=yes \
-   VST=0 \
+NLS=1 \
+FREEDESKTOP=0 \
+SYSLIBS=1 \
+VST=0 \
+WIIMOTE=0 \
+LV2=0 \
+FREESOUND=1 \
+LIBLO=1 \
+AUBIO=1 \
+TRANZPORT=1 \
+DIST_LIBDIR=lib \
 DESTDIR="${pkgdir}" install || return 1
+
   # install some freedesktop.org compatibility
-  install -m755 -d "${pkgdir}/usr/share/applications"
-  install -m644 "${srcdir}/${pkgname}.desktop" 
"${pkgdir}/usr/share/applications/" || return 1
+  install -Dm644 "${srcdir}/${pkgname}.desktop" 
"${pkgdir}/usr/share/applications/${pkgname}.desktop" || return 1
 }