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

2020-02-22 Thread Andreas Radke via arch-commits
Date: Sunday, February 23, 2020 @ 07:44:20
  Author: andyrtr
Revision: 376093

upgpkg: xdg-utils 1.1.3+19+g9816ebb-1: update to latest git commit - fixes  
FS#65352

Modified:
  xdg-utils/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-02-23 06:56:01 UTC (rev 376092)
+++ PKGBUILD2020-02-23 07:44:20 UTC (rev 376093)
@@ -3,9 +3,9 @@
 
 pkgname=xdg-utils
 # https://gitlab.freedesktop.org/xdg/xdg-utils/commits/master
-_commit=0547886c0a7ae79145998495a6e3af6a1450d0c7 # master # 2019-04-19
-pkgver=1.1.3+18+g0547886
-pkgrel=4
+_commit=9816ebb3e6fd9f23e993b8b7fcbd56f92d9c9197 # master # 2020-02-20
+pkgver=1.1.3+19+g9816ebb
+pkgrel=1
 pkgdesc="Command line tools that assist applications with a variety of desktop 
integration tasks"
 arch=('any')
 url="https://www.freedesktop.org/wiki/Software/xdg-utils/;


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

2019-11-20 Thread Andreas Radke via arch-commits
Date: Wednesday, November 20, 2019 @ 20:21:46
  Author: andyrtr
Revision: 369500

upgpkg: xdg-utils 1.1.3+18+g0547886-4

remove xorg-xprop from optdepends FS#64579

Modified:
  xdg-utils/trunk/PKGBUILD

--+
 PKGBUILD |3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-11-20 19:36:22 UTC (rev 369499)
+++ PKGBUILD2019-11-20 20:21:46 UTC (rev 369500)
@@ -5,7 +5,7 @@
 # https://gitlab.freedesktop.org/xdg/xdg-utils/commits/master
 _commit=0547886c0a7ae79145998495a6e3af6a1450d0c7 # master # 2019-04-19
 pkgver=1.1.3+18+g0547886
-pkgrel=3
+pkgrel=4
 pkgdesc="Command line tools that assist applications with a variety of desktop 
integration tasks"
 arch=('any')
 url="https://www.freedesktop.org/wiki/Software/xdg-utils/;
@@ -14,7 +14,6 @@
 makedepends=('docbook-xsl' 'lynx' 'xmlto' 'git')
 optdepends=('kde-cli-tools: for KDE Plasma5 support in xdg-open'
 'exo: for Xfce support in xdg-open'
-'xorg-xprop: for Xfce support in xdg-open'
 'pcmanfm: for LXDE support in xdg-open'
 'perl-file-mimeinfo: for generic support in xdg-open'
 'perl-net-dbus: Perl extension to dbus used in xdg-screensaver'


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

2019-11-18 Thread Andreas Radke via arch-commits
Date: Monday, November 18, 2019 @ 21:03:12
  Author: andyrtr
Revision: 369413

upgpkg: xdg-utils 1.1.3+18+g0547886-3

depend on file FS#59161 that's no more part of base group and on xorg-xprop 
FS#50784

Modified:
  xdg-utils/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2019-11-18 20:47:55 UTC (rev 369412)
+++ PKGBUILD2019-11-18 21:03:12 UTC (rev 369413)
@@ -5,12 +5,12 @@
 # https://gitlab.freedesktop.org/xdg/xdg-utils/commits/master
 _commit=0547886c0a7ae79145998495a6e3af6a1450d0c7 # master # 2019-04-19
 pkgver=1.1.3+18+g0547886
-pkgrel=2
+pkgrel=3
 pkgdesc="Command line tools that assist applications with a variety of desktop 
integration tasks"
 arch=('any')
 url="https://www.freedesktop.org/wiki/Software/xdg-utils/;
 license=('MIT')
-depends=('sh' 'which' 'xorg-xset') # xset needed inside xdg-screensaver
+depends=('sh' 'which' 'file' 'xorg-xset' 'xorg-xprop') # xset + xprop needed 
inside xdg-screensaver
 makedepends=('docbook-xsl' 'lynx' 'xmlto' 'git')
 optdepends=('kde-cli-tools: for KDE Plasma5 support in xdg-open'
 'exo: for Xfce support in xdg-open'


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

2019-10-21 Thread Andreas Radke via arch-commits
Date: Monday, October 21, 2019 @ 14:55:59
  Author: andyrtr
Revision: 365256

upgpkg: xdg-utils 1.1.3+18+g0547886-2

depend on which - FS#64193

Modified:
  xdg-utils/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2019-10-21 14:03:01 UTC (rev 365255)
+++ PKGBUILD2019-10-21 14:55:59 UTC (rev 365256)
@@ -5,12 +5,12 @@
 # https://gitlab.freedesktop.org/xdg/xdg-utils/commits/master
 _commit=0547886c0a7ae79145998495a6e3af6a1450d0c7 # master # 2019-04-19
 pkgver=1.1.3+18+g0547886
-pkgrel=1
+pkgrel=2
 pkgdesc="Command line tools that assist applications with a variety of desktop 
integration tasks"
 arch=('any')
 url="https://www.freedesktop.org/wiki/Software/xdg-utils/;
 license=('MIT')
-depends=('sh' 'xorg-xset') # xset needed inside xdg-screensaver
+depends=('sh' 'which' 'xorg-xset') # xset needed inside xdg-screensaver
 makedepends=('docbook-xsl' 'lynx' 'xmlto' 'git')
 optdepends=('kde-cli-tools: for KDE Plasma5 support in xdg-open'
 'exo: for Xfce support in xdg-open'


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

2019-09-25 Thread Andreas Radke via arch-commits
Date: Wednesday, September 25, 2019 @ 17:38:28
  Author: andyrtr
Revision: 363399

fix quoting

Modified:
  xdg-utils/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-09-25 17:37:00 UTC (rev 363398)
+++ PKGBUILD2019-09-25 17:38:28 UTC (rev 363399)
@@ -57,5 +57,5 @@
   install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
 
   # install empty directory to prevent xdg-desktop-menu install *.desktop to 
fail, see FS#33316
-  install -dm755 $pkgdir/usr/share/desktop-directories
+  install -dm755 "$pkgdir"/usr/share/desktop-directories
 }


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

2019-08-28 Thread Andreas Radke via arch-commits
Date: Wednesday, August 28, 2019 @ 16:03:08
  Author: andyrtr
Revision: 361326

upgpkg: xdg-utils 1.1.3+18+g0547886-1

update to recent git commits - FS#63576

Modified:
  xdg-utils/trunk/PKGBUILD

--+
 PKGBUILD |   58 +++---
 1 file changed, 35 insertions(+), 23 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-08-28 15:26:51 UTC (rev 361325)
+++ PKGBUILD2019-08-28 16:03:08 UTC (rev 361326)
@@ -2,8 +2,10 @@
 # Maintainer: Jan de Groot 
 
 pkgname=xdg-utils
-pkgver=1.1.3
-pkgrel=3
+# https://gitlab.freedesktop.org/xdg/xdg-utils/commits/master
+_commit=0547886c0a7ae79145998495a6e3af6a1450d0c7 # master # 2019-04-19
+pkgver=1.1.3+18+g0547886
+pkgrel=1
 pkgdesc="Command line tools that assist applications with a variety of desktop 
integration tasks"
 arch=('any')
 url="https://www.freedesktop.org/wiki/Software/xdg-utils/;
@@ -17,33 +19,43 @@
 'perl-file-mimeinfo: for generic support in xdg-open'
 'perl-net-dbus: Perl extension to dbus used in xdg-screensaver'
 'perl-x11-protocol: Perl X11 protocol used in xdg-screensaver')
-source=(https://portland.freedesktop.org/download/$pkgname-$pkgver.tar.gz
-0001_better_pcmanfm_check.patch
-drop_obsolete_GNOME_support.patch) #{,.asc}
-sha1sums=('98294cf332c341b85e481d98e9ea59357fe1efc7'
-  'f5c09cc10d7b88c2033392efd4179da65a1f47b1'
-  '32d4282c2e6c7345ddf04016c91f0defbf88b356')
+source=(#https://portland.freedesktop.org/download/$pkgname-$pkgver.tar.gz
+#0001_better_pcmanfm_check.patch
+#drop_obsolete_GNOME_support.patch) #{,.asc}
+"git+https://gitlab.freedesktop.org/xdg/xdg-utils.git#commit=$_commit;
+)
+#sha1sums=('98294cf332c341b85e481d98e9ea59357fe1efc7'
+#  'f5c09cc10d7b88c2033392efd4179da65a1f47b1'
+#  '32d4282c2e6c7345ddf04016c91f0defbf88b356')
+sha256sums=('SKIP')
 #validpgpkeys=('8B75CA7811367175D05F3B03C43570F80CC295E6') # "Per Olofsson 
"
 
-prepare() {
-   cd $pkgname-$pkgver
-   # FS#58707
-   patch -Np1 -i ../0001_better_pcmanfm_check.patch
-   # drop Gnome2 support - 
FS58096/https://bugs.freedesktop.org/show_bug.cgi?id=90775
-   patch -Np1 -i ../drop_obsolete_GNOME_support.patch
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/^v//;s/-/+/g'
 }
 
+#prepare() {
+#  cd $pkgname #-$pkgver
+#  # FS#58707
+#  patch -Np1 -i ../0001_better_pcmanfm_check.patch
+#  # drop Gnome2 support - 
FS58096/https://bugs.freedesktop.org/show_bug.cgi?id=90775
+#  patch -Np1 -i ../drop_obsolete_GNOME_support.patch
+
+#  NOCONFIGURE=1 ./autogen.sh
+#}
+
 build() {
-   cd $pkgname-$pkgver
-   ./configure --prefix=/usr --mandir=/usr/share/man
-   make
+  cd $pkgname #-$pkgver
+  ./configure --prefix=/usr --mandir=/usr/share/man
+  make
 }
 
 package() {
-   cd $pkgname-$pkgver
-   make DESTDIR="${pkgdir}" install
-   install -D -m644 LICENSE 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-   
-   # install empty directory to prevent xdg-desktop-menu install *.desktop 
to fail, see FS#33316
-   install -dm755 $pkgdir/usr/share/desktop-directories
+  cd $pkgname #-$pkgver
+  make DESTDIR="${pkgdir}" install
+  install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+
+  # install empty directory to prevent xdg-desktop-menu install *.desktop to 
fail, see FS#33316
+  install -dm755 $pkgdir/usr/share/desktop-directories
 }


[arch-commits] Commit in xdg-utils/trunk (PKGBUILD drop_obsolete_GNOME_support.patch)

2018-08-09 Thread Andreas Radke via arch-commits
Date: Thursday, August 9, 2018 @ 19:06:29
  Author: andyrtr
Revision: 331312

upgpkg: xdg-utils 1.1.3-3

grop Gnome2 support - FS#58096

Added:
  xdg-utils/trunk/drop_obsolete_GNOME_support.patch
Modified:
  xdg-utils/trunk/PKGBUILD

---+
 PKGBUILD  |   10 +-
 drop_obsolete_GNOME_support.patch |  175 
 2 files changed, 182 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-08-09 18:56:19 UTC (rev 331311)
+++ PKGBUILD2018-08-09 19:06:29 UTC (rev 331312)
@@ -4,7 +4,7 @@
 
 pkgname=xdg-utils
 pkgver=1.1.3
-pkgrel=2
+pkgrel=3
 pkgdesc="Command line tools that assist applications with a variety of desktop 
integration tasks"
 arch=('any')
 url="https://www.freedesktop.org/wiki/Software/xdg-utils/;
@@ -19,9 +19,11 @@
 'perl-net-dbus: Perl extension to dbus used in xdg-screensaver'
 'perl-x11-protocol: Perl X11 protocol used in xdg-screensaver')
 source=(https://portland.freedesktop.org/download/$pkgname-$pkgver.tar.gz
-0001_better_pcmanfm_check.patch) #{,.asc}
+0001_better_pcmanfm_check.patch
+drop_obsolete_GNOME_support.patch) #{,.asc}
 sha1sums=('98294cf332c341b85e481d98e9ea59357fe1efc7'
-  'f5c09cc10d7b88c2033392efd4179da65a1f47b1')
+  'f5c09cc10d7b88c2033392efd4179da65a1f47b1'
+  '32d4282c2e6c7345ddf04016c91f0defbf88b356')
 #validpgpkeys=('8B75CA7811367175D05F3B03C43570F80CC295E6') # "Per Olofsson 
"
 
 prepare() {
@@ -28,6 +30,8 @@
cd $pkgname-$pkgver
# FS#58707
patch -Np1 -i ../0001_better_pcmanfm_check.patch
+   # drop Gnome2 support - 
FS58096/https://bugs.freedesktop.org/show_bug.cgi?id=90775
+   patch -Np1 -i ../drop_obsolete_GNOME_support.patch
 }
 
 build() {

Added: drop_obsolete_GNOME_support.patch
===
--- drop_obsolete_GNOME_support.patch   (rev 0)
+++ drop_obsolete_GNOME_support.patch   2018-08-09 19:06:29 UTC (rev 331312)
@@ -0,0 +1,175 @@
+From 21bb62e4ed715edb342bc6f1ca0983bd706228af Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Johannes=20L=C3=B6thberg?= 
+Date: Fri, 29 May 2015 20:53:54 +0200
+Subject: [PATCH] xdg-desktop-menu: Drop obsolete GNOME support
+
+This commit drops the obsolete support for the GNOME-specific directory
+for .desktop files, since it has not been needed since GNOME 2.10, and
+since it forces the creation of ~/.gnome whether you want it or not.
+
+https://bugs.freedesktop.org/show_bug.cgi?id=90775
+---
+ scripts/xdg-desktop-menu.in | 47 +
+ 1 file changed, 9 insertions(+), 38 deletions(-)
+
+diff --git a/scripts/xdg-desktop-menu.in b/scripts/xdg-desktop-menu.in
+index 13159cb..8654764 100644
+--- a/scripts/xdg-desktop-menu.in
 b/scripts/xdg-desktop-menu.in
+@@ -126,22 +126,18 @@ update_submenu()
+ DEBUG 3 "xdg_global_dir: $xdg_global_dir"
+ DEBUG 3 "kde_user_dir: $kde_user_dir"
+ DEBUG 3 "kde_global_dir: $kde_global_dir"
+-DEBUG 3 "gnome_user_dir: $gnome_user_dir"
+-DEBUG 3 "gnome_global_dir: $gnome_global_dir"
+ 
+ if [ x"$mode" = x"user" ] ; then
+ xdg_dir="$xdg_user_dir"
+ kde_dir="$kde_user_dir"
+-gnome_dir="$gnome_user_dir"
+ my_umask=077
+ my_chmod=0600
+ else
+ xdg_dir="$xdg_global_dir"
+ kde_dir="$kde_global_dir"
+-gnome_dir="$gnome_global_dir"
+ my_umask=022
+ my_chmod=0644
+-if [ -z "${xdg_dir}${kde_dir}${gnome_dir}" ] ; then
++if [ -z "${xdg_dir}${kde_dir}" ] ; then
+ exit_failure_operation_impossible "No writable system menu 
directory found."
+ fi
+ fi
+@@ -158,15 +154,6 @@ update_submenu()
+ return
+ fi
+ 
+-if [ $action = "install" ] && [ -f 
"/etc/xdg/menus/gnome-applications.menu" ] ; then
+-# Work around for Debian Gnome
+-gnome_xdg_dir=`echo "$xdg_dir" | sed -e 
's^/applications-merged^/gnome-applications-merged^'`
+-if [ ! -e "$gnome_xdg_dir" ] ; then
+-DEBUG 1 "Debian Workaround: Link '$xdg_dir' to '$gnome_xdg_dir'"
+-mkdir -p `dirname "$gnome_xdg_dir"`
+-eval 'ln -s "applications-merged" 
"$gnome_xdg_dir"'$xdg_redirect_output
+-fi
+-fi
+ if [ $action = "install" ] && [ -f "/etc/mandrake-release" ] ; then
+ # Work around for Mandriva 2006
+ mandrake_xdg_dir=`echo "$xdg_dir" | sed -e 
's^/applications-merged^/applications-mdk-merged^'`
+@@ -489,20 +476,16 @@ DEBUG 3 "xdg_user_dir: $xdg_user_dir"
+ DEBUG 3 "xdg_global_dir: $xdg_global_dir"
+ DEBUG 3 "kde_user_dir: $kde_user_dir"
+ DEBUG 3 "kde_global_dir: $kde_global_dir"
+-DEBUG 3 "gnome_user_dir: $gnome_user_dir"
+-DEBUG 3 "gnome_global_dir: $gnome_global_dir"
+ 
+ if [ x"$mode" = x"user" ] ; then
+ xdg_dir="$xdg_user_dir"
+  

[arch-commits] Commit in xdg-utils/trunk (PKGBUILD lxqt.patch)

2018-05-11 Thread Andreas Radke via arch-commits
Date: Friday, May 11, 2018 @ 19:40:20
  Author: andyrtr
Revision: 323983

upgpkg: xdg-utils 1.1.3-1

upstream update 1.1.3

Modified:
  xdg-utils/trunk/PKGBUILD
Deleted:
  xdg-utils/trunk/lxqt.patch

+
 PKGBUILD   |   15 ---
 lxqt.patch |   54 --
 2 files changed, 4 insertions(+), 65 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-05-11 19:26:44 UTC (rev 323982)
+++ PKGBUILD2018-05-11 19:40:20 UTC (rev 323983)
@@ -3,8 +3,8 @@
 # Maintainer: Jan de Groot 
 
 pkgname=xdg-utils
-pkgver=1.1.2
-pkgrel=2
+pkgver=1.1.3
+pkgrel=1
 pkgdesc="Command line tools that assist applications with a variety of desktop 
integration tasks"
 arch=('any')
 url="https://www.freedesktop.org/wiki/Software/xdg-utils/;
@@ -18,17 +18,10 @@
 'perl-file-mimeinfo: for generic support in xdg-open'
 'perl-net-dbus: Perl extension to dbus used in xdg-screensaver'
 'perl-x11-protocol: Perl X11 protocol used in xdg-screensaver')
-source=(https://portland.freedesktop.org/download/$pkgname-$pkgver.tar.gz 
lxqt.patch) #{,.asc}
-sha1sums=('20cd4cc5cfaa904b12abf6d584deb568367f4d83'
-  'a8b5435d4ee217512a455d099344bdc2dc80da94')
+source=(https://portland.freedesktop.org/download/$pkgname-$pkgver.tar.gz) 
#{,.asc}
+sha1sums=('98294cf332c341b85e481d98e9ea59357fe1efc7')
 #validpgpkeys=('8B75CA7811367175D05F3B03C43570F80CC295E6') # "Per Olofsson 
"
 
-prepare() {
-   cd $pkgname-$pkgver
-   # lxde and lxqt are different
-   patch -Np1 -i ../lxqt.patch
-}
-
 build() {
cd $pkgname-$pkgver
./configure --prefix=/usr --mandir=/usr/share/man

Deleted: lxqt.patch
===
--- lxqt.patch  2018-05-11 19:26:44 UTC (rev 323982)
+++ lxqt.patch  2018-05-11 19:40:20 UTC (rev 323983)
@@ -1,54 +0,0 @@
-From 7d4360c64d94de53d907f13ca99837285e972ec6 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Lu=C3=ADs=20Pereira?= 
-Date: Wed, 17 May 2017 14:33:30 +0100
-Subject: xdg-open: Fixes LXQt behavior
-
-Commit 6387086e4938d568c2bab185632f60e1619b3f68 introduced LXQt support.
-In xdg-open it assumed that LXQt and LXDE are the same. They aren't. LXQt
-does not have pcmanfm, it has pcmanfm-qt.
-LXQt doesn't want to rely on pcmamfm-qt to handle it: LXQt is very modular
-and can be deployed without pcmanfm-qt.
-
-open_generic() works for LXQt but it depends on mimeopen and mimetype. In
-the future we will want, for sure, to drop those dependencies. That's the
-reason for the existence of open_lxqt().

- scripts/xdg-open.in | 11 ++-
- 1 file changed, 10 insertions(+), 1 deletion(-)
-
-diff --git a/scripts/xdg-open.in b/scripts/xdg-open.in
-index 9817c5f..2972257 100644
 a/scripts/xdg-open.in
-+++ b/scripts/xdg-open.in
-@@ -447,6 +447,11 @@ open_lxde()
- fi
- }
- 
-+open_lxqt()
-+{
-+open_generic "$1"
-+}
-+
- [ x"$1" != x"" ] || exit_failure_syntax
- 
- url=
-@@ -511,10 +516,14 @@ case "$DE" in
- open_xfce "$url"
- ;;
- 
--lxde|lxqt)
-+lxde)
- open_lxde "$url"
- ;;
- 
-+lxqt)
-+open_lxqt "$url"
-+;;
-+
- enlightenment)
- open_enlightenment "$url"
- ;;
--- 
-cgit v1.1
-
-


[arch-commits] Commit in xdg-utils/trunk (PKGBUILD lxqt.patch)

2018-03-13 Thread Andreas Radke via arch-commits
Date: Tuesday, March 13, 2018 @ 17:53:30
  Author: andyrtr
Revision: 318843

upgpkg: xdg-utils 1.1.2-2

apply upstream fix to detect lxqt from lxde

Added:
  xdg-utils/trunk/lxqt.patch
Modified:
  xdg-utils/trunk/PKGBUILD

+
 PKGBUILD   |   11 ++-
 lxqt.patch |   54 ++
 2 files changed, 60 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-03-13 17:06:40 UTC (rev 318842)
+++ PKGBUILD2018-03-13 17:53:30 UTC (rev 318843)
@@ -4,7 +4,7 @@
 
 pkgname=xdg-utils
 pkgver=1.1.2
-pkgrel=1
+pkgrel=2
 pkgdesc="Command line tools that assist applications with a variety of desktop 
integration tasks"
 arch=('any')
 url="https://www.freedesktop.org/wiki/Software/xdg-utils/;
@@ -18,14 +18,15 @@
 'perl-file-mimeinfo: for generic support in xdg-open'
 'perl-net-dbus: Perl extension to dbus used in xdg-screensaver'
 'perl-x11-protocol: Perl X11 protocol used in xdg-screensaver')
-source=(https://portland.freedesktop.org/download/$pkgname-$pkgver.tar.gz) 
#{,.asc}
-sha1sums=('20cd4cc5cfaa904b12abf6d584deb568367f4d83')
+source=(https://portland.freedesktop.org/download/$pkgname-$pkgver.tar.gz 
lxqt.patch) #{,.asc}
+sha1sums=('20cd4cc5cfaa904b12abf6d584deb568367f4d83'
+  'a8b5435d4ee217512a455d099344bdc2dc80da94')
 #validpgpkeys=('8B75CA7811367175D05F3B03C43570F80CC295E6') # "Per Olofsson 
"
 
 prepare() {
cd $pkgname-$pkgver
-   # fix wrong hardcoded chromium binary name - FS#50184
-#  sed -i "s:chromium-browser:chromium:" scripts/xdg-open.in
+   # lxde and lxqt are different
+   patch -Np1 -i ../lxqt.patch
 }
 
 build() {

Added: lxqt.patch
===
--- lxqt.patch  (rev 0)
+++ lxqt.patch  2018-03-13 17:53:30 UTC (rev 318843)
@@ -0,0 +1,54 @@
+From 7d4360c64d94de53d907f13ca99837285e972ec6 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Lu=C3=ADs=20Pereira?= 
+Date: Wed, 17 May 2017 14:33:30 +0100
+Subject: xdg-open: Fixes LXQt behavior
+
+Commit 6387086e4938d568c2bab185632f60e1619b3f68 introduced LXQt support.
+In xdg-open it assumed that LXQt and LXDE are the same. They aren't. LXQt
+does not have pcmanfm, it has pcmanfm-qt.
+LXQt doesn't want to rely on pcmamfm-qt to handle it: LXQt is very modular
+and can be deployed without pcmanfm-qt.
+
+open_generic() works for LXQt but it depends on mimeopen and mimetype. In
+the future we will want, for sure, to drop those dependencies. That's the
+reason for the existence of open_lxqt().
+---
+ scripts/xdg-open.in | 11 ++-
+ 1 file changed, 10 insertions(+), 1 deletion(-)
+
+diff --git a/scripts/xdg-open.in b/scripts/xdg-open.in
+index 9817c5f..2972257 100644
+--- a/scripts/xdg-open.in
 b/scripts/xdg-open.in
+@@ -447,6 +447,11 @@ open_lxde()
+ fi
+ }
+ 
++open_lxqt()
++{
++open_generic "$1"
++}
++
+ [ x"$1" != x"" ] || exit_failure_syntax
+ 
+ url=
+@@ -511,10 +516,14 @@ case "$DE" in
+ open_xfce "$url"
+ ;;
+ 
+-lxde|lxqt)
++lxde)
+ open_lxde "$url"
+ ;;
+ 
++lxqt)
++open_lxqt "$url"
++;;
++
+ enlightenment)
+ open_enlightenment "$url"
+ ;;
+-- 
+cgit v1.1
+
+


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

2017-01-20 Thread Andreas Radke
Date: Friday, January 20, 2017 @ 21:14:35
  Author: andyrtr
Revision: 287035

upgpkg: xdg-utils 1.1.1-5

drop dead libgnome optdep

Modified:
  xdg-utils/trunk/PKGBUILD

--+
 PKGBUILD |3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-01-20 20:35:10 UTC (rev 287034)
+++ PKGBUILD2017-01-20 21:14:35 UTC (rev 287035)
@@ -4,7 +4,7 @@
 
 pkgname=xdg-utils
 pkgver=1.1.1
-pkgrel=4
+pkgrel=5
 pkgdesc="Command line tools that assist applications with a variety of desktop 
integration tasks"
 arch=('any')
 url="https://www.freedesktop.org/wiki/Software/xdg-utils/;
@@ -12,7 +12,6 @@
 depends=('sh' 'xorg-xset') # xset needed inside xdg-screensaver
 makedepends=('docbook-xsl' 'lynx' 'xmlto' 'git')
 optdepends=('kde-cli-tools: for KDE Plasma5 support in xdg-open'
-'libgnome: for GNOME support in xdg-open'
 'exo: for Xfce support in xdg-open'
 'xorg-xprop: for Xfce support in xdg-open'
 'pcmanfm: for LXDE support in xdg-open'


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

2017-01-15 Thread Andreas Radke
Date: Sunday, January 15, 2017 @ 17:16:39
  Author: andyrtr
Revision: 286609

https sources / gpg signature fixes

Modified:
  xdg-utils/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2017-01-15 17:15:45 UTC (rev 286608)
+++ PKGBUILD2017-01-15 17:16:39 UTC (rev 286609)
@@ -7,7 +7,7 @@
 pkgrel=4
 pkgdesc="Command line tools that assist applications with a variety of desktop 
integration tasks"
 arch=('any')
-url="http://www.freedesktop.org/wiki/Software/xdg-utils/;
+url="https://www.freedesktop.org/wiki/Software/xdg-utils/;
 license=('MIT')
 depends=('sh' 'xorg-xset') # xset needed inside xdg-screensaver
 makedepends=('docbook-xsl' 'lynx' 'xmlto' 'git')
@@ -19,7 +19,7 @@
 'perl-file-mimeinfo: for generic support in xdg-open'
 'perl-net-dbus: Perl extension to dbus used in xdg-screensaver'
 'perl-x11-protocol: Perl X11 protocol used in xdg-screensaver')
-source=(http://portland.freedesktop.org/download/$pkgname-$pkgver.tar.gz{,.asc}
+source=(https://portland.freedesktop.org/download/$pkgname-$pkgver.tar.gz{,.asc}
 support_for_KDE_Frameworks_5.6.diff)
 md5sums=('2d0aec6037769a5f138ff404b1bb4b15'
  'SKIP'


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

2016-07-31 Thread Andreas Radke
Date: Sunday, July 31, 2016 @ 09:30:00
  Author: andyrtr
Revision: 272751

upgpkg: xdg-utils 1.1.1-4

fix chromium binary call - FS#50184

Modified:
  xdg-utils/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2016-07-31 09:22:07 UTC (rev 272750)
+++ PKGBUILD2016-07-31 09:30:00 UTC (rev 272751)
@@ -4,7 +4,7 @@
 
 pkgname=xdg-utils
 pkgver=1.1.1
-pkgrel=3
+pkgrel=4
 pkgdesc="Command line tools that assist applications with a variety of desktop 
integration tasks"
 arch=('any')
 url="http://www.freedesktop.org/wiki/Software/xdg-utils/;
@@ -28,6 +28,9 @@
 
 prepare() {
cd $pkgname-$pkgver
+   # fix wrong hardcoded chromium binary name - FS#50184
+   sed -i "s:chromium-browser:chromium:" scripts/xdg-open.in
+   
# fix KDE support, FS#48668
patch -Np1 -i $srcdir/support_for_KDE_Frameworks_5.6.diff
 }


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

2016-07-19 Thread Andreas Radke
Date: Tuesday, July 19, 2016 @ 11:41:49
  Author: andyrtr
Revision: 272002

upgpkg: xdg-utils 1.1.1-3

add additional optdepends for xdg-screensaver; FS#50092

Modified:
  xdg-utils/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2016-07-19 11:11:33 UTC (rev 272001)
+++ PKGBUILD2016-07-19 11:41:49 UTC (rev 272002)
@@ -4,7 +4,7 @@
 
 pkgname=xdg-utils
 pkgver=1.1.1
-pkgrel=2
+pkgrel=3
 pkgdesc="Command line tools that assist applications with a variety of desktop 
integration tasks"
 arch=('any')
 url="http://www.freedesktop.org/wiki/Software/xdg-utils/;
@@ -16,7 +16,9 @@
 'exo: for Xfce support in xdg-open'
 'xorg-xprop: for Xfce support in xdg-open'
 'pcmanfm: for LXDE support in xdg-open'
-'perl-file-mimeinfo: for generic support in xdg-open')
+'perl-file-mimeinfo: for generic support in xdg-open'
+'perl-net-dbus: Perl extension to dbus used in xdg-screensaver'
+'perl-x11-protocol: Perl X11 protocol used in xdg-screensaver')
 source=(http://portland.freedesktop.org/download/$pkgname-$pkgver.tar.gz{,.asc}
 support_for_KDE_Frameworks_5.6.diff)
 md5sums=('2d0aec6037769a5f138ff404b1bb4b15'


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

2016-01-10 Thread Antonio Rojas
Date: Sunday, January 10, 2016 @ 12:49:45
  Author: arojas
Revision: 257708

KDE 4 is gone

Modified:
  xdg-utils/trunk/PKGBUILD

--+
 PKGBUILD |3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-01-10 08:38:40 UTC (rev 257707)
+++ PKGBUILD2016-01-10 11:49:45 UTC (rev 257708)
@@ -11,8 +11,7 @@
 license=('MIT')
 depends=('sh' 'xorg-xset') # xset needed inside xdg-screensaver
 makedepends=('docbook-xsl' 'lynx' 'xmlto' 'git')
-optdepends=('kdebase-runtime: for KDE4 support in xdg-open'
-'kde-cli-tools: for KDE Plasma5 support in xdg-open'
+optdepends=('kde-cli-tools: for KDE Plasma5 support in xdg-open'
 'libgnome: for GNOME support in xdg-open'
 'exo: for Xfce support in xdg-open'
 'xorg-xprop: for Xfce support in xdg-open'


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

2015-10-07 Thread Andreas Radke
Date: Wednesday, October 7, 2015 @ 21:22:23
  Author: andyrtr
Revision: 248469

upgpkg: xdg-utils 1.1.1-1

upstream update 1.1.1

Modified:
  xdg-utils/trunk/PKGBUILD

--+
 PKGBUILD |   23 +--
 1 file changed, 9 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-10-07 18:56:46 UTC (rev 248468)
+++ PKGBUILD2015-10-07 19:22:23 UTC (rev 248469)
@@ -3,11 +3,11 @@
 # Maintainer: Jan de Groot 
 
 pkgname=xdg-utils
-pkgver=1.1.0.git20150323
+pkgver=1.1.1
 pkgrel=1
 pkgdesc="Command line tools that assist applications with a variety of desktop 
integration tasks"
 arch=('any')
-url="http://cgit.freedesktop.org/xdg/xdg-utils/;
+url="http://www.freedesktop.org/wiki/Software/xdg-utils/;
 license=('MIT')
 depends=('sh' 'xorg-xset') # xset needed inside xdg-screensaver
 makedepends=('docbook-xsl' 'lynx' 'xmlto' 'git')
@@ -18,24 +18,19 @@
 'xorg-xprop: for Xfce support in xdg-open'
 'pcmanfm: for LXDE support in xdg-open'
 'perl-file-mimeinfo: for generic support in xdg-open')
-source=(git://anongit.freedesktop.org/xdg/xdg-utils#commit=686f6f48f6ff939c757881e3fc7a852b61d32c94)
-md5sums=('SKIP')
+source=(http://portland.freedesktop.org/download/$pkgname-$pkgver.tar.gz{,.asc})
+md5sums=('2d0aec6037769a5f138ff404b1bb4b15'
+ 'SKIP')
+validpgpkeys=('8B75CA7811367175D05F3B03C43570F80CC295E6') # "Per Olofsson 
"
 
-pkgver() {
-   cd xdg-utils
-   echo "1.1.0.git$(git log -1 --format="%cd" --date=short | sed 's|-||g')"
-}
-
 build() {
-   cd xdg-utils*
+   cd $pkgname-$pkgver
./configure --prefix=/usr --mandir=/usr/share/man
-#  make scripts-clean -C scripts # needed if it's a git snapshot
-#  make man scripts -C scripts # needed if it's a git snapshot
-   make # for release builds
+   make
 }
 
 package() {
-   cd xdg-utils
+   cd $pkgname-$pkgver
make DESTDIR="${pkgdir}" install
install -D -m644 LICENSE 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"



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

2015-03-28 Thread Andreas Radke
Date: Saturday, March 28, 2015 @ 08:57:38
  Author: andyrtr
Revision: 235194

upgpkg: xdg-utils 1.1.0.git20150323-1

update git snapshot; fix FS#44324

Modified:
  xdg-utils/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2015-03-28 06:32:21 UTC (rev 235193)
+++ PKGBUILD2015-03-28 07:57:38 UTC (rev 235194)
@@ -3,7 +3,7 @@
 # Maintainer: Jan de Groot j...@archlinux.org
 
 pkgname=xdg-utils
-pkgver=1.1.0.git20150302
+pkgver=1.1.0.git20150323
 pkgrel=1
 pkgdesc=Command line tools that assist applications with a variety of desktop 
integration tasks
 arch=('any')
@@ -18,7 +18,7 @@
 'xorg-xprop: for Xfce support in xdg-open'
 'pcmanfm: for LXDE support in xdg-open'
 'perl-file-mimeinfo: for generic support in xdg-open')
-source=(git://anongit.freedesktop.org/xdg/xdg-utils#commit=914db40b96555412842d8f96d07980261ab69f13)
+source=(git://anongit.freedesktop.org/xdg/xdg-utils#commit=686f6f48f6ff939c757881e3fc7a852b61d32c94)
 md5sums=('SKIP')
 
 pkgver() {


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

2015-03-16 Thread Andreas Radke
Date: Monday, March 16, 2015 @ 19:30:23
  Author: andyrtr
Revision: 233952

upgpkg: xdg-utils 1.1.0.git20150302-1

update git snapshot; add optdep for KDE Plasma 5 FS#43638

Modified:
  xdg-utils/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2015-03-16 18:19:42 UTC (rev 233951)
+++ PKGBUILD2015-03-16 18:30:23 UTC (rev 233952)
@@ -3,7 +3,7 @@
 # Maintainer: Jan de Groot j...@archlinux.org
 
 pkgname=xdg-utils
-pkgver=1.1.0.git20141009
+pkgver=1.1.0.git20150302
 pkgrel=1
 pkgdesc=Command line tools that assist applications with a variety of desktop 
integration tasks
 arch=('any')
@@ -11,13 +11,14 @@
 license=('MIT')
 depends=('sh' 'xorg-xset') # xset needed inside xdg-screensaver
 makedepends=('docbook-xsl' 'lynx' 'xmlto' 'git')
-optdepends=('kdebase-runtime: for KDE support in xdg-open'
+optdepends=('kdebase-runtime: for KDE4 support in xdg-open'
+'kde-cli-tools: for KDE Plasma5 support in xdg-open'
 'libgnome: for GNOME support in xdg-open'
 'exo: for Xfce support in xdg-open'
 'xorg-xprop: for Xfce support in xdg-open'
 'pcmanfm: for LXDE support in xdg-open'
 'perl-file-mimeinfo: for generic support in xdg-open')
-source=(git://anongit.freedesktop.org/xdg/xdg-utils#commit=f0df41402e827051ec16bac212c8eaf08ada75e4)
+source=(git://anongit.freedesktop.org/xdg/xdg-utils#commit=914db40b96555412842d8f96d07980261ab69f13)
 md5sums=('SKIP')
 
 pkgver() {


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

2014-10-13 Thread Andreas Radke
Date: Monday, October 13, 2014 @ 20:43:41
  Author: andyrtr
Revision: 224293

upgpkg: xdg-utils 1.1.0.git20141009-1

update git snapshot - fixes FS#42361

Modified:
  xdg-utils/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2014-10-13 17:54:00 UTC (rev 224292)
+++ PKGBUILD2014-10-13 18:43:41 UTC (rev 224293)
@@ -1,8 +1,9 @@
 # $Id$
+# Maintainer: Andreas Radke andy...@archlinux.org
 # Maintainer: Jan de Groot j...@archlinux.org
 
 pkgname=xdg-utils
-pkgver=1.1.0.git20140630
+pkgver=1.1.0.git20141009
 pkgrel=1
 pkgdesc=Command line tools that assist applications with a variety of desktop 
integration tasks
 arch=('any')
@@ -16,7 +17,7 @@
 'xorg-xprop: for Xfce support in xdg-open'
 'pcmanfm: for LXDE support in xdg-open'
 'perl-file-mimeinfo: for generic support in xdg-open')
-source=(git://anongit.freedesktop.org/xdg/xdg-utils#commit=34e033845ea6997bc4fdafd9bdd4856bfa5d0d36)
+source=(git://anongit.freedesktop.org/xdg/xdg-utils#commit=f0df41402e827051ec16bac212c8eaf08ada75e4)
 md5sums=('SKIP')
 
 pkgver() {
@@ -25,7 +26,7 @@
 }
 
 build() {
-   cd xdg-utils
+   cd xdg-utils*
./configure --prefix=/usr --mandir=/usr/share/man
 #  make scripts-clean -C scripts # needed if it's a git snapshot
 #  make man scripts -C scripts # needed if it's a git snapshot


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

2014-07-21 Thread Andreas Radke
Date: Monday, July 21, 2014 @ 16:52:19
  Author: andyrtr
Revision: 217530

upgpkg: xdg-utils 1.1.0.git20140630-1

upstream update 1.1.0.git20140630; fixes FS#40795

Modified:
  xdg-utils/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2014-07-21 14:25:16 UTC (rev 217529)
+++ PKGBUILD2014-07-21 14:52:19 UTC (rev 217530)
@@ -2,7 +2,7 @@
 # Maintainer: Jan de Groot j...@archlinux.org
 
 pkgname=xdg-utils
-pkgver=1.1.0.git20140426
+pkgver=1.1.0.git20140630
 pkgrel=1
 pkgdesc=Command line tools that assist applications with a variety of desktop 
integration tasks
 arch=('any')
@@ -16,7 +16,7 @@
 'xorg-xprop: for Xfce support in xdg-open'
 'pcmanfm: for LXDE support in xdg-open'
 'perl-file-mimeinfo: for generic support in xdg-open')
-source=(git://anongit.freedesktop.org/xdg/xdg-utils#commit=869b22b75fc6e7c9e29ba5367bd97ebf7ce76cb3)
+source=(git://anongit.freedesktop.org/xdg/xdg-utils#commit=34e033845ea6997bc4fdafd9bdd4856bfa5d0d36)
 md5sums=('SKIP')
 
 pkgver() {



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

2014-06-10 Thread Andreas Radke
Date: Tuesday, June 10, 2014 @ 18:32:35
  Author: andyrtr
Revision: 214782

upgpkg: xdg-utils 1.1.0.git20140426-1

update git snapshot

Modified:
  xdg-utils/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2014-06-10 14:50:14 UTC (rev 214781)
+++ PKGBUILD2014-06-10 16:32:35 UTC (rev 214782)
@@ -2,7 +2,7 @@
 # Maintainer: Jan de Groot j...@archlinux.org
 
 pkgname=xdg-utils
-pkgver=1.1.0.git20140207
+pkgver=1.1.0.git20140426
 pkgrel=1
 pkgdesc=Command line tools that assist applications with a variety of desktop 
integration tasks
 arch=('any')
@@ -16,7 +16,7 @@
 'xorg-xprop: for Xfce support in xdg-open'
 'pcmanfm: for LXDE support in xdg-open'
 'perl-file-mimeinfo: for generic support in xdg-open')
-source=(git://anongit.freedesktop.org/xdg/xdg-utils#commit=6da906f59933133612d006e1bff9918a2b8c5a60)
+source=(git://anongit.freedesktop.org/xdg/xdg-utils#commit=869b22b75fc6e7c9e29ba5367bd97ebf7ce76cb3)
 md5sums=('SKIP')
 
 pkgver() {



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

2014-02-07 Thread Andreas Radke
Date: Friday, February 7, 2014 @ 21:55:36
  Author: andyrtr
Revision: 205567

upgpkg: xdg-utils 1.1.0.git20140207-1

update git snapshot

Modified:
  xdg-utils/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2014-02-07 20:38:36 UTC (rev 205566)
+++ PKGBUILD2014-02-07 20:55:36 UTC (rev 205567)
@@ -2,7 +2,7 @@
 # Maintainer: Jan de Groot j...@archlinux.org
 
 pkgname=xdg-utils
-pkgver=1.1.0.git20140109
+pkgver=1.1.0.git20140207
 pkgrel=1
 pkgdesc=Command line tools that assist applications with a variety of desktop 
integration tasks
 arch=('any')
@@ -16,7 +16,7 @@
 'xorg-xprop: for Xfce support in xdg-open'
 'pcmanfm: for LXDE support in xdg-open'
 'perl-file-mimeinfo: for generic support in xdg-open')
-source=(git://anongit.freedesktop.org/xdg/xdg-utils#commit=768ccceb8ffcfa77550ae9ecd6fea6838bfce706)
+source=(git://anongit.freedesktop.org/xdg/xdg-utils#commit=6da906f59933133612d006e1bff9918a2b8c5a60)
 md5sums=('SKIP')
 
 pkgver() {
@@ -27,9 +27,9 @@
 build() {
cd xdg-utils
./configure --prefix=/usr --mandir=/usr/share/man
-   make scripts-clean -C scripts # needed if it's a git snapshot
-   make man scripts -C scripts # needed if it's a git snapshot
-#  make # for release builds
+#  make scripts-clean -C scripts # needed if it's a git snapshot
+#  make man scripts -C scripts # needed if it's a git snapshot
+   make # for release builds
 }
 
 package() {



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

2014-01-21 Thread Andreas Radke
Date: Tuesday, January 21, 2014 @ 14:55:34
  Author: andyrtr
Revision: 204504

upgpkg: xdg-utils 1.1.0.git20140109-1

update to recent git master snapshot

Modified:
  xdg-utils/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2014-01-21 12:45:19 UTC (rev 204503)
+++ PKGBUILD2014-01-21 13:55:34 UTC (rev 204504)
@@ -2,11 +2,11 @@
 # Maintainer: Jan de Groot j...@archlinux.org
 
 pkgname=xdg-utils
-pkgver=1.1.0.git20130520
+pkgver=1.1.0.git20140109
 pkgrel=1
 pkgdesc=Command line tools that assist applications with a variety of desktop 
integration tasks
 arch=('any')
-url=http://portland.freedesktop.org/;
+url=http://cgit.freedesktop.org/xdg/xdg-utils/;
 license=('MIT')
 depends=('sh' 'xorg-xset') # xset needed inside xdg-screensaver
 makedepends=('docbook-xsl' 'lynx' 'xmlto' 'git')
@@ -16,7 +16,7 @@
 'xorg-xprop: for Xfce support in xdg-open'
 'pcmanfm: for LXDE support in xdg-open'
 'perl-file-mimeinfo: for generic support in xdg-open')
-source=(git://anongit.freedesktop.org/xdg/xdg-utils#commit=2373d9b2b7)
+source=(git://anongit.freedesktop.org/xdg/xdg-utils#commit=768ccceb8ffcfa77550ae9ecd6fea6838bfce706)
 md5sums=('SKIP')
 
 pkgver() {



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

2013-07-28 Thread Bartłomiej Piotrowski
Date: Sunday, July 28, 2013 @ 20:26:32
  Author: bpiotrowski
Revision: 191636

upgpkg: xdg-utils 1.1.0.git20130520-1

- upgrade to latest commit

Modified:
  xdg-utils/trunk/PKGBUILD

--+
 PKGBUILD |   23 ---
 1 file changed, 12 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-07-28 18:12:42 UTC (rev 191635)
+++ PKGBUILD2013-07-28 18:26:32 UTC (rev 191636)
@@ -2,29 +2,30 @@
 # Maintainer: Jan de Groot j...@archlinux.org
 
 pkgname=xdg-utils
-_oldver=1.1.0
-_gitver=050333e34e2fe7430ad2ead37e5a0420ac0c2a3e # xdg-mime does not search 
mimeinfo.cache
-_gitdate=20121008
-pkgver=${_oldver}.git${_gitdate}
-pkgrel=2
+pkgver=1.1.0.git20130520
+pkgrel=1
 pkgdesc=Command line tools that assist applications with a variety of desktop 
integration tasks
 arch=('any')
 url=http://portland.freedesktop.org/;
 license=('MIT')
 depends=('sh' 'xorg-xset') # xset needed inside xdg-screensaver
-makedepends=('docbook-xsl' 'lynx' 'xmlto')
+makedepends=('docbook-xsl' 'lynx' 'xmlto' 'git')
 optdepends=('kdebase-runtime: for KDE support in xdg-open'
 'libgnome: for GNOME support in xdg-open'
 'exo: for Xfce support in xdg-open'
 'xorg-xprop: for Xfce support in xdg-open'
 'pcmanfm: for LXDE support in xdg-open'
 'perl-file-mimeinfo: for generic support in xdg-open')
-source=(#http://cgit.freedesktop.org/xdg/xdg-utils/snapshot/xdg-utils-${_gitver}.tar.gz
-ftp://ftp.archlinux.org/other/$pkgname/xdg-utils-${_gitver}.tar.gz)
-md5sums=('cc321af15724cf7ee1ef014c4a0120ea')
+source=(git://anongit.freedesktop.org/xdg/xdg-utils#commit=2373d9b2b7)
+md5sums=('SKIP')
 
+pkgver() {
+   cd xdg-utils
+   echo 1.1.0.git$(git log -1 --format=%cd --date=short | sed 's|-||g')
+}
+
 build() {
-   cd ${srcdir}/${pkgname}-${_gitver}
+   cd xdg-utils
./configure --prefix=/usr --mandir=/usr/share/man
make scripts-clean -C scripts # needed if it's a git snapshot
make man scripts -C scripts # needed if it's a git snapshot
@@ -32,7 +33,7 @@
 }
 
 package() {
-   cd ${srcdir}/${pkgname}-${_gitver}
+   cd xdg-utils
make DESTDIR=${pkgdir} install
install -D -m644 LICENSE 
${pkgdir}/usr/share/licenses/${pkgname}/LICENSE




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

2013-01-07 Thread andyrtr
Date: Monday, January 7, 2013 @ 13:49:00
  Author: andyrtr
Revision: 174821

upgpkg: xdg-utils 1.1.0.git20121008-2

add empty /usr/share/desktop-directories for prevent to fail menu entries - 
FS#33316

Modified:
  xdg-utils/trunk/PKGBUILD

--+
 PKGBUILD |   10 +++---
 1 file changed, 7 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-01-07 18:41:05 UTC (rev 174820)
+++ PKGBUILD2013-01-07 18:49:00 UTC (rev 174821)
@@ -6,7 +6,7 @@
 _gitver=050333e34e2fe7430ad2ead37e5a0420ac0c2a3e # xdg-mime does not search 
mimeinfo.cache
 _gitdate=20121008
 pkgver=${_oldver}.git${_gitdate}
-pkgrel=1
+pkgrel=2
 pkgdesc=Command line tools that assist applications with a variety of desktop 
integration tasks
 arch=('any')
 url=http://portland.freedesktop.org/;
@@ -19,8 +19,9 @@
 'xorg-xprop: for Xfce support in xdg-open'
 'pcmanfm: for LXDE support in xdg-open'
 'perl-file-mimeinfo: for generic support in xdg-open')
-source=(http://cgit.freedesktop.org/xdg/xdg-utils/snapshot/xdg-utils-${_gitver}.tar.gz)
-md5sums=('a590889b5bbfd0c42976004bdc2eb83b')
+source=(#http://cgit.freedesktop.org/xdg/xdg-utils/snapshot/xdg-utils-${_gitver}.tar.gz
+ftp://ftp.archlinux.org/other/$pkgname/xdg-utils-${_gitver}.tar.gz)
+md5sums=('cc321af15724cf7ee1ef014c4a0120ea')
 
 build() {
cd ${srcdir}/${pkgname}-${_gitver}
@@ -34,4 +35,7 @@
cd ${srcdir}/${pkgname}-${_gitver}
make DESTDIR=${pkgdir} install
install -D -m644 LICENSE 
${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+   
+   # install empty directory to prevent xdg-desktop-menu install *.desktop 
to fail, see FS#33316
+   install -dm755 $pkgdir/usr/share/desktop-directories
 }



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

2012-10-16 Thread andyrtr
Date: Tuesday, October 16, 2012 @ 11:28:48
  Author: andyrtr
Revision: 168927

upgpkg: xdg-utils 1.1.0.git20121008-1

update git snapshot - fix FS#28011

Modified:
  xdg-utils/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2012-10-16 15:19:57 UTC (rev 168926)
+++ PKGBUILD2012-10-16 15:28:48 UTC (rev 168927)
@@ -2,9 +2,11 @@
 # Maintainer: Jan de Groot j...@archlinux.org
 
 pkgname=xdg-utils
-pkgver=1.1.0
-_gitdate=20120520
-pkgrel=2.${_gitdate}
+_oldver=1.1.0
+_gitver=050333e34e2fe7430ad2ead37e5a0420ac0c2a3e # xdg-mime does not search 
mimeinfo.cache
+_gitdate=20121008
+pkgver=${_oldver}.git${_gitdate}
+pkgrel=1
 pkgdesc=Command line tools that assist applications with a variety of desktop 
integration tasks
 arch=('any')
 url=http://portland.freedesktop.org/;
@@ -17,12 +19,11 @@
 'xorg-xprop: for Xfce support in xdg-open'
 'pcmanfm: for LXDE support in xdg-open'
 'perl-file-mimeinfo: for generic support in xdg-open')
-source=(ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.${_gitdate}.tar.gz
  # last git commit 2012-03-10 13:55:24 (GMT) allow DESKTOP_SESSION='Xfce 
Session' to match xfce
-)
-md5sums=('4e37d65322dbc4763e85b8ba461f919b')
+source=(http://cgit.freedesktop.org/xdg/xdg-utils/snapshot/xdg-utils-${_gitver}.tar.gz)
+md5sums=('a590889b5bbfd0c42976004bdc2eb83b')
 
 build() {
-   cd ${srcdir}/${pkgname}-5be359a49d4d8dc3c5f814ab89b8422ad522d837
+   cd ${srcdir}/${pkgname}-${_gitver}
./configure --prefix=/usr --mandir=/usr/share/man
make scripts-clean -C scripts # needed if it's a git snapshot
make man scripts -C scripts # needed if it's a git snapshot
@@ -30,7 +31,7 @@
 }
 
 package() {
-   cd ${srcdir}/${pkgname}-5be359a49d4d8dc3c5f814ab89b8422ad522d837
+   cd ${srcdir}/${pkgname}-${_gitver}
make DESTDIR=${pkgdir} install
install -D -m644 LICENSE 
${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
 }



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

2012-05-28 Thread andyrtr
Date: Monday, May 28, 2012 @ 10:13:54
  Author: andyrtr
Revision: 160046

upgpkg: xdg-utils 1.1.0-2.20120520

make sure scripts are properly rebuilt FS#30025

Modified:
  xdg-utils/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2012-05-28 14:12:38 UTC (rev 160045)
+++ PKGBUILD2012-05-28 14:13:54 UTC (rev 160046)
@@ -4,7 +4,7 @@
 pkgname=xdg-utils
 pkgver=1.1.0
 _gitdate=20120520
-pkgrel=0.${_gitdate}
+pkgrel=2.${_gitdate}
 pkgdesc=Command line tools that assist applications with a variety of desktop 
integration tasks
 arch=('any')
 url=http://portland.freedesktop.org/;
@@ -18,17 +18,15 @@
 'pcmanfm: for LXDE support in xdg-open'
 'perl-file-mimeinfo: for generic support in xdg-open')
 
source=(ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.${_gitdate}.tar.gz
  # last git commit 2012-03-10 13:55:24 (GMT) allow DESKTOP_SESSION='Xfce 
Session' to match xfce
-   xfce-detection.diff)
-md5sums=('4e37d65322dbc4763e85b8ba461f919b'
- '061c85755b9f3ca8a8cc847518b6be3d')
+)
+md5sums=('4e37d65322dbc4763e85b8ba461f919b')
 
 build() {
cd ${srcdir}/${pkgname}-5be359a49d4d8dc3c5f814ab89b8422ad522d837
-   # disable patch for now, the grep upstream issue is solved as fixed and 
lots of xfce related commits should have fixed this
-   #patch -p0 -i ${srcdir}/xfce-detection.diff
./configure --prefix=/usr --mandir=/usr/share/man
-   make -C scripts
-   make
+   make scripts-clean -C scripts # needed if it's a git snapshot
+   make man scripts -C scripts # needed if it's a git snapshot
+#  make # for release builds
 }
 
 package() {



[arch-commits] Commit in xdg-utils/trunk (PKGBUILD xfce-detection.diff)

2011-06-18 Thread Eric Bélanger
Date: Sunday, June 19, 2011 @ 00:59:10
  Author: eric
Revision: 127870

upgpkg: xdg-utils 1.1.0rc1-3
Added patch from git to fix Xfce detection (close FS#22848), Added optdepends 
for xdg-open backend (close FS#20741), Fixed license

Added:
  xdg-utils/trunk/xfce-detection.diff
Modified:
  xdg-utils/trunk/PKGBUILD

-+
 PKGBUILD|   34 +-
 xfce-detection.diff |   49 +
 2 files changed, 70 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2011-06-19 00:11:41 UTC (rev 127869)
+++ PKGBUILD2011-06-19 04:59:10 UTC (rev 127870)
@@ -3,31 +3,39 @@
 
 pkgname=xdg-utils
 pkgver=1.1.0rc1
-pkgrel=2
-pkgdesc='Command line tools that assist applications with a variety of desktop 
integration tasks.'
+pkgrel=3
+pkgdesc='Command line tools that assist applications with a variety of desktop 
integration tasks'
 arch=('any')
 url='http://portland.freedesktop.org/'
+license=('MIT')
 depends=('sh' 'xorg-xset')
 makedepends=('docbook-xsl' 'lynx' 'xmlto')
-optdepends=('xorg-utils: needed if using Xfce')
-license=('custom')
-source=( 
#ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.xz;
-   
http://portland.freedesktop.org/download/${pkgname}-${pkgver/rc1/-rc1}.tar.gz)
-md5sums=('fadf5e7a08e0526fc60dbe3e5b7ef8d6')
+optdepends=('kdebase-runtime: for KDE support in xdg-open'
+'libgnome: for GNOME support in xdg-open'
+'exo: for Xfce support in xdg-open'
+'xorg-xprop: for Xfce support in xdg-open'
+'pcmanfm: for LXDE support in xdg-open'
+'perl-file-mimeinfo: for generic support in xdg-open')
+source=(#ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.xz;
+   
http://portland.freedesktop.org/download/${pkgname}-${pkgver/rc1/-rc1}.tar.gz \
+   xfce-detection.diff)
+md5sums=('fadf5e7a08e0526fc60dbe3e5b7ef8d6'
+ '061c85755b9f3ca8a8cc847518b6be3d')
 
 build() {
-   #cd ${srcdir}/${pkgname}-${pkgver}
-   cd ${srcdir}/${pkgname}-${pkgver/rc1/-rc1}
+   #cd ${srcdir}/${pkgname}-${pkgver}
+   cd ${srcdir}/${pkgname}-${pkgver/rc1/-rc1}
+   patch -p0 -i ${srcdir}/xfce-detection.diff
./configure --prefix=/usr --mandir=/usr/share/man
make -C scripts
make
 }
 
 package() {
-   #cd ${srcdir}/${pkgname}-${pkgver}
-   cd ${srcdir}/${pkgname}-${pkgver/rc1/-rc1}
-   make DESTDIR=${pkgdir} install
-   install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+   #cd ${srcdir}/${pkgname}-${pkgver}
+   cd ${srcdir}/${pkgname}-${pkgver/rc1/-rc1}
+   make DESTDIR=${pkgdir} install
+   install -D -m644 LICENSE 
${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
 }
 
 _source() {

Added: xfce-detection.diff
===
--- xfce-detection.diff (rev 0)
+++ xfce-detection.diff 2011-06-19 04:59:10 UTC (rev 127870)
@@ -0,0 +1,49 @@
+--- scripts/xdg-open   2011-01-01 05:03:14.0 -0500
 scripts/xdg-open.new   2011-06-19 00:43:13.0 -0400
+@@ -303,12 +303,35 @@
+ 
+ detectDE()
+ {
++# see https://bugs.freedesktop.org/show_bug.cgi?id=34164
++unset GREP_OPTIONS
++
+ if [ x$KDE_FULL_SESSION = xtrue ]; then DE=kde;
+ elif [ x$GNOME_DESKTOP_SESSION_ID != x ]; then DE=gnome;
+ elif `dbus-send --print-reply --dest=org.freedesktop.DBus 
/org/freedesktop/DBus org.freedesktop.DBus.GetNameOwner 
string:org.gnome.SessionManager  /dev/null 21` ; then DE=gnome;
+ elif xprop -root _DT_SAVE_MODE 2 /dev/null | grep ' = \xfce4\$' 
/dev/null 21; then DE=xfce;
+-elif [ x$DESKTOP_SESSION == xLXDE ]; then DE=lxde;
+-else DE=
++elif xprop -root 2 /dev/null | grep -i '^xfce_desktop_window' /dev/null 
21; then DE=xfce
++fi
++
++if [ x$DE = x ]; then
++  # fallback to checking $DESKTOP_SESSION
++  case $DESKTOP_SESSION in
++ gnome)
++   DE=gnome;
++   ;;
++ LXDE)
++   DE=lxde; 
++   ;;
++ xfce|xfce4)
++   DE=xfce;
++   ;;
++  esac
++fi
++
++if [ x$DE = xgnome ]; then
++  # gnome-default-applications-properties is only available in GNOME 2.x
++  # but not in GNOME 3.x
++  which gnome-default-applications-properties  /dev/null 21  || 
DE=gnome3
+ fi
+ }
+ 
+@@ -535,7 +558,7 @@
+ open_kde $url
+ ;;
+ 
+-gnome)
++gnome*)
+ open_gnome $url
+ ;;
+ 



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

2011-04-08 Thread Eric Bélanger
Date: Saturday, April 9, 2011 @ 00:51:24
  Author: eric
Revision: 118865

upgpkg: xdg-utils 1.1.0rc1-2
Added xorg-xset depends

Modified:
  xdg-utils/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2011-04-09 04:41:43 UTC (rev 118864)
+++ PKGBUILD2011-04-09 04:51:24 UTC (rev 118865)
@@ -3,11 +3,11 @@
 
 pkgname=xdg-utils
 pkgver=1.1.0rc1
-pkgrel=1
+pkgrel=2
 pkgdesc='Command line tools that assist applications with a variety of desktop 
integration tasks.'
 arch=('any')
 url='http://portland.freedesktop.org/'
-depends=('sh')
+depends=('sh' 'xorg-xset')
 makedepends=('docbook-xsl' 'lynx' 'xmlto')
 optdepends=('xorg-utils: needed if using Xfce')
 license=('custom')



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

2011-02-05 Thread andyrtr
Date: Saturday, February 5, 2011 @ 06:11:10
  Author: andyrtr
Revision: 109011

upgpkg: xdg-utils 1.1.0rc1-1
upstream update 1.1.0rc1

Modified:
  xdg-utils/trunk/PKGBUILD

--+
 PKGBUILD |   25 ++---
 1 file changed, 14 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2011-02-05 10:57:47 UTC (rev 109010)
+++ PKGBUILD2011-02-05 11:11:10 UTC (rev 109011)
@@ -2,7 +2,7 @@
 # Maintainer: Jan de Groot j...@archlinux.org
 
 pkgname=xdg-utils
-pkgver=1.0.2.20100618
+pkgver=1.1.0rc1
 pkgrel=1
 pkgdesc='Command line tools that assist applications with a variety of desktop 
integration tasks.'
 arch=('any')
@@ -11,25 +11,28 @@
 makedepends=('docbook-xsl' 'lynx' 'xmlto')
 optdepends=('xorg-utils: needed if using Xfce')
 license=('custom')
-source=(ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.xz;)
-md5sums=('d032904fe43bfb384563cc2227316301')
+source=( 
#ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.xz;
+   
http://portland.freedesktop.org/download/${pkgname}-${pkgver/rc1/-rc1}.tar.gz)
+md5sums=('fadf5e7a08e0526fc60dbe3e5b7ef8d6')
 
 build() {
-   cd ${srcdir}/${pkgname}-${pkgver}
-   ./configure --prefix=/usr --mandir=/usr/share/man || return 1
-   cd scripts
-   make scripts html man || return 1
-   cd ..
-   make || return 1
+   #cd ${srcdir}/${pkgname}-${pkgver}
+   cd ${srcdir}/${pkgname}-${pkgver/rc1/-rc1}
+   ./configure --prefix=/usr --mandir=/usr/share/man
+   make -C scripts
+   make
 }
 
 package() {
-   cd ${srcdir}/${pkgname}-${pkgver}
-   make DESTDIR=${pkgdir} install || return 1
+   #cd ${srcdir}/${pkgname}-${pkgver}
+   cd ${srcdir}/${pkgname}-${pkgver/rc1/-rc1}
+   make DESTDIR=${pkgdir} install
install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
 }
 
 _source() {
+
+   # outdated! see now http://cgit.freedesktop.org/xdg/xdg-utils/
local _current=$(pwd)
local _tmp=$(mktemp -d)
cd $_tmp



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

2010-06-17 Thread Pierre Schmitz
Date: Friday, June 18, 2010 @ 01:24:38
  Author: pierre
Revision: 82845

upgpkg: xdg-utils 1.0.2.20100618-1
new snapshot

Modified:
  xdg-utils/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2010-06-18 03:46:18 UTC (rev 82844)
+++ PKGBUILD2010-06-18 05:24:38 UTC (rev 82845)
@@ -2,7 +2,7 @@
 # Maintainer: Jan de Groot j...@archlinux.org
 
 pkgname=xdg-utils
-pkgver=1.0.2.20100303
+pkgver=1.0.2.20100618
 pkgrel=1
 pkgdesc='Command line tools that assist applications with a variety of desktop 
integration tasks.'
 arch=('any')
@@ -12,7 +12,7 @@
 optdepends=('xorg-utils: needed if using Xfce')
 license=('custom')
 source=(ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.xz;)
-md5sums=('b4a9ea7a85559fdebc06c2f703b5116f')
+md5sums=('d032904fe43bfb384563cc2227316301')
 
 build() {
cd ${srcdir}/${pkgname}-${pkgver}
@@ -36,8 +36,8 @@
 
cvs -d:pserver:anon...@anoncvs.freedesktop.org:/cvs/portland co -d 
${pkgname}-${pkgver} portland/xdg-utils
find ${pkgname}-${pkgver} -name 'CVS' -type d -exec rm -rf {} \;
-   bsdtar cvzf ${pkgname}-${pkgver}.tar.gz ${pkgname}-${pkgver}
-   mv ${pkgname}-${pkgver}.tar.gz $_current
+   bsdtar cJf ${pkgname}-${pkgver}.tar.xz ${pkgname}-${pkgver}
+   mv ${pkgname}-${pkgver}.tar.xz $_current
cd $_current
rm -rf $_tmp
 }



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

2009-12-16 Thread Pierre Schmitz
Date: Wednesday, December 16, 2009 @ 13:47:56
  Author: pierre
Revision: 61479

use snapshot; current version does not work with KDE4 and misses features

Modified:
  xdg-utils/trunk/PKGBUILD

--+
 PKGBUILD |   44 ++--
 1 file changed, 30 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2009-12-16 17:34:01 UTC (rev 61478)
+++ PKGBUILD2009-12-16 18:47:56 UTC (rev 61479)
@@ -2,21 +2,37 @@
 # Maintainer: Jan de Groot j...@archlinux.org
 
 pkgname=xdg-utils
-pkgver=1.0.2
-pkgrel=2
-pkgdesc=Command line tools that assist applications with a variety of desktop 
integration tasks.
-arch=(i686 x86_64)
-url=http://portland.freedesktop.org/;
+pkgver=1.0.2.20091216
+pkgrel=1
+pkgdesc='Command line tools that assist applications with a variety of desktop 
integration tasks.'
+arch=('any')
+url='http://portland.freedesktop.org/'
 depends=('sh')
-license=(MIT)
-source=(http://portland.freedesktop.org/download/$pkgname-$pkgver.tgz)
-md5sums=('348a5b91dc66426505022c74a64b2940')
+makedepends=('docbook-xsl' 'lynx' 'xmlto')
+license=('custom')
+source=(ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.gz;)
+md5sums=('c1c48a257796a6324b16a75fd3aed45a')
 
 build() {
-  cd ${srcdir}/${pkgname}-${pkgver}
-  ./configure --prefix=/usr --mandir=/usr/share/man || return 1
-  make || return 1
-  make DESTDIR=${pkgdir} install || return 1
-  install -m755 -d ${pkgdir}/usr/share/licenses/${pkgname}
-  install -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/ || return 1
+   cd ${srcdir}/${pkgname}-${pkgver}
+   ./configure --prefix=/usr --mandir=/usr/share/man || return 1
+   cd scripts
+   make scripts html man || return 1
+   cd ..
+   make || return 1
+   make DESTDIR=${pkgdir} install || return 1
+   install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
 }
+
+_source() {
+   local _current=$(pwd)
+   local _tmp=$(mktemp -d)
+   cd $_tmp
+
+   cvs -d:pserver:anon...@anoncvs.freedesktop.org:/cvs/portland co -d 
${pkgname}-${pkgver} portland/xdg-utils
+   find ${pkgname}-${pkgver} -name 'CVS' -type d -exec rm -rf {} \;
+   bsdtar cvzf ${pkgname}-${pkgver}.tar.gz ${pkgname}-${pkgver}
+   mv ${pkgname}-${pkgver}.tar.gz $_current
+   cd $_current
+   rm -rf $_tmp
+}
\ No newline at end of file