diff options
-rw-r--r-- | x11/desktop-file-utils/APKBUILD | 16 | ||||
-rw-r--r-- | x11/desktop-file-utils/desktop-file-utils.trigger | 3 | ||||
-rw-r--r-- | x11/desktop-file-utils/nocxx.patch | 15 |
3 files changed, 10 insertions, 24 deletions
diff --git a/x11/desktop-file-utils/APKBUILD b/x11/desktop-file-utils/APKBUILD index 7ff0ee3080..b4b373fe13 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 0000000000..0400e9a2b9 --- /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 beb1ab9006..0000000000 --- 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 |