mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-04 20:06:43 +02:00
x11/desktop-file-utils: added trigger script
This commit is contained in:
parent
badb44fe85
commit
dcbd7619ed
@ -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"
|
||||
|
||||
3
x11/desktop-file-utils/desktop-file-utils.trigger
Normal file
3
x11/desktop-file-utils/desktop-file-utils.trigger
Normal file
@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
update-desktop-database -q
|
||||
@ -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
|
||||
Loading…
x
Reference in New Issue
Block a user