summaryrefslogtreecommitdiffstats
path: root/x11/desktop-file-utils
diff options
context:
space:
mode:
Diffstat (limited to 'x11/desktop-file-utils')
-rw-r--r--x11/desktop-file-utils/APKBUILD14
1 files changed, 9 insertions, 5 deletions
diff --git a/x11/desktop-file-utils/APKBUILD b/x11/desktop-file-utils/APKBUILD
index 6c65eb14..7ff0ee30 100644
--- a/x11/desktop-file-utils/APKBUILD
+++ b/x11/desktop-file-utils/APKBUILD
@@ -5,15 +5,19 @@ pkgrel=0
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"
-makedepends="glib-dev libiconv-dev"
-source="http://www.freedesktop.org/software/$pkgname/releases/$pkgname-$pkgver.tar.gz"
+depends="glib uclibc libiconv gettext"
+makedepends="glib-dev libiconv-dev gettext-dev pkgconfig"
+source="http://www.freedesktop.org/software/$pkgname/releases/$pkgname-$pkgver.tar.gz
+ nocxx.patch"
build ()
{
- cd "$srcdir/desktop-file-utils-$pkgver"
+ 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"
+md5sums="2fe8ebe222fc33cd4a959415495b7eed desktop-file-utils-0.15.tar.gz
+28513788ba4d556ccd538867dc6205ab nocxx.patch"