summaryrefslogtreecommitdiffstats
path: root/x11/desktop-file-utils
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-08-19 20:24:08 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-08-19 20:24:08 +0000
commitdcbd7619edd0188301456cedf0c74c701a4bdf53 (patch)
tree26f181605acc20ef272402568f3159b958cfcea9 /x11/desktop-file-utils
parentbadb44fe851aacac612321483fdcade58686e3bf (diff)
downloadaports-dcbd7619edd0188301456cedf0c74c701a4bdf53.tar.bz2
aports-dcbd7619edd0188301456cedf0c74c701a4bdf53.tar.xz
x11/desktop-file-utils: added trigger script
Diffstat (limited to 'x11/desktop-file-utils')
-rw-r--r--x11/desktop-file-utils/APKBUILD16
-rw-r--r--x11/desktop-file-utils/desktop-file-utils.trigger3
-rw-r--r--x11/desktop-file-utils/nocxx.patch15
3 files changed, 10 insertions, 24 deletions
diff --git a/x11/desktop-file-utils/APKBUILD b/x11/desktop-file-utils/APKBUILD
index 7ff0ee308..b4b373fe1 100644
--- a/x11/desktop-file-utils/APKBUILD
+++ b/x11/desktop-file-utils/APKBUILD
@@ -1,23 +1,21 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=desktop-file-utils
pkgver=0.15
-pkgrel=0
+pkgrel=1
pkgdesc="Command line utilities for working with desktop entries"
url="http://www.freedesktop.org/wiki/Software/desktop-file-utils"
license="GPL"
-depends="glib uclibc libiconv gettext"
+depends=
makedepends="glib-dev libiconv-dev gettext-dev pkgconfig"
-source="http://www.freedesktop.org/software/$pkgname/releases/$pkgname-$pkgver.tar.gz
- nocxx.patch"
+triggers="$pkgname.trigger:/usr/share/applications"
+source="http://www.freedesktop.org/software/$pkgname/releases/$pkgname-$pkgver.tar.gz"
-build ()
-{
+build ()
+{
cd "$srcdir"/desktop-file-utils-$pkgver
- patch configure < ../nocxx.patch || return 1
./configure --prefix=/usr || return 1
make || return 1
make DESTDIR="$pkgdir" install || return 1
}
-md5sums="2fe8ebe222fc33cd4a959415495b7eed desktop-file-utils-0.15.tar.gz
-28513788ba4d556ccd538867dc6205ab nocxx.patch"
+md5sums="2fe8ebe222fc33cd4a959415495b7eed desktop-file-utils-0.15.tar.gz"
diff --git a/x11/desktop-file-utils/desktop-file-utils.trigger b/x11/desktop-file-utils/desktop-file-utils.trigger
new file mode 100644
index 000000000..0400e9a2b
--- /dev/null
+++ b/x11/desktop-file-utils/desktop-file-utils.trigger
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+update-desktop-database -q
diff --git a/x11/desktop-file-utils/nocxx.patch b/x11/desktop-file-utils/nocxx.patch
deleted file mode 100644
index beb1ab900..000000000
--- a/x11/desktop-file-utils/nocxx.patch
+++ /dev/null
@@ -1,15 +0,0 @@
---- a/configure 2004-12-07 21:34:23.205172545 +0000
-+++ b/configure 2004-12-07 21:37:17.726654782 +0000
-@@ -5148,10 +5148,8 @@
- :
- else
- { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
--See \`config.log' for more details." >&5
--echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
--See \`config.log' for more details." >&2;}
-- { (exit 1); exit 1; }; }
-+See \`config.log' for more details." >&5;}
-+ { echo "C++ sucks, ignoring ..." >&5; }; }
- fi
-
- ac_ext=cc