diff options
-rw-r--r-- | main/shared-mime-info/APKBUILD | 4 | ||||
-rw-r--r-- | main/shared-mime-info/shared-mime-info.trigger | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/main/shared-mime-info/APKBUILD b/main/shared-mime-info/APKBUILD index 62ceda5af..4bf5a93de 100644 --- a/main/shared-mime-info/APKBUILD +++ b/main/shared-mime-info/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=shared-mime-info pkgver=1.2 -pkgrel=0 +pkgrel=1 pkgdesc="Freedesktop.org Shared MIME Info" url="http://freedesktop.org/Software/shared-mime-info" arch="all" @@ -15,7 +15,7 @@ source="http://freedesktop.org/~hadess/$pkgname-$pkgver.tar.xz" build() { cd "$srcdir"/$pkgname-$pkgver - ./configure \ + ac_cv_func_fdatasync=no ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ diff --git a/main/shared-mime-info/shared-mime-info.trigger b/main/shared-mime-info/shared-mime-info.trigger index 51a3e4953..82526ff42 100644 --- a/main/shared-mime-info/shared-mime-info.trigger +++ b/main/shared-mime-info/shared-mime-info.trigger @@ -3,5 +3,6 @@ for i in "$@"; do if [ -d "$i" ]; then update-mime-database "$i" > /dev/null 2>&1 + sync fi done |