diff options
Diffstat (limited to 'extra/xdg-utils')
-rwxr-xr-x | extra/xdg-utils/.md5sum | 1 | ||||
-rwxr-xr-x | extra/xdg-utils/Pkgfile | 6 | ||||
-rw-r--r-- | extra/xdg-utils/xdg-utils-1.0.2-midori-1.patch | 11 |
3 files changed, 16 insertions, 2 deletions
diff --git a/extra/xdg-utils/.md5sum b/extra/xdg-utils/.md5sum index ac8956c96..d8bc99e07 100755 --- a/extra/xdg-utils/.md5sum +++ b/extra/xdg-utils/.md5sum @@ -1 +1,2 @@ +09388df881d9f4ce27b63f5b1ff00f20 xdg-utils-1.0.2-midori-1.patch 348a5b91dc66426505022c74a64b2940 xdg-utils-1.0.2.tgz diff --git a/extra/xdg-utils/Pkgfile b/extra/xdg-utils/Pkgfile index b242f4acf..dad47053f 100755 --- a/extra/xdg-utils/Pkgfile +++ b/extra/xdg-utils/Pkgfile @@ -6,11 +6,13 @@ name=xdg-utils version=1.0.2 -release=1 -source=(http://portland.freedesktop.org/download/$name-$version.tgz) +release=2 +source=(http://portland.freedesktop.org/download/$name-$version.tgz\ + $name-$version-midori-1.patch) build() { cd $name-$version + patch -Np1 -i ../$name-$version-midori-1.patch ./configure --prefix=/usr make make DESTDIR=$PKG install diff --git a/extra/xdg-utils/xdg-utils-1.0.2-midori-1.patch b/extra/xdg-utils/xdg-utils-1.0.2-midori-1.patch new file mode 100644 index 000000000..8e49d5b7a --- /dev/null +++ b/extra/xdg-utils/xdg-utils-1.0.2-midori-1.patch @@ -0,0 +1,11 @@ +--- xdg-utils-1.0.2/scripts/xdg-open.original 2009-09-03 18:41:24.000000000 +0000 ++++ xdg-utils-1.0.2/scripts/xdg-open 2009-09-03 18:43:15.000000000 +0000 +@@ -408,7 +408,7 @@ + if [ x"$DE" = x"" ]; then + # if BROWSER variable is not set, check some well known browsers instead + if [ x"$BROWSER" = x"" ]; then +- BROWSER=firefox:mozilla:netscape ++ BROWSER=firefox:mozilla:netscape:midori + fi + DE=generic + fi |