summaryrefslogtreecommitdiff
path: root/repo/system/shared-mime-info.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-05-01 21:21:05 +0000
committerdavidovski <david@davidovski.xyz>2022-05-01 21:21:05 +0000
commit606bc59d0f8f67815c6a717843835477d44db6b3 (patch)
tree687b3fe5bc844b90a3841e1ea543aa9f9934a93a /repo/system/shared-mime-info.xibuild
parent1084afc3c4d9c83e61620de60ba59a4393a33cb0 (diff)
added ungoogled chromium
Diffstat (limited to 'repo/system/shared-mime-info.xibuild')
-rw-r--r--repo/system/shared-mime-info.xibuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/repo/system/shared-mime-info.xibuild b/repo/system/shared-mime-info.xibuild
index e5d804d..cb6b887 100644
--- a/repo/system/shared-mime-info.xibuild
+++ b/repo/system/shared-mime-info.xibuild
@@ -9,7 +9,7 @@ DEPS="sbase glib libxml2 musl pkg-config "
PKG_VER=2.2
SOURCE="https://gitlab.freedesktop.org/xdg/shared-mime-info/-/archive/$PKG_VER/shared-mime-info-$PKG_VER.tar.gz"
ADDITIONAL="
-https://raw.githubusercontent.com/archlinux/svntogit-packages/packages/shared-mime-info/trunk/MR_162.patch
+ https://raw.githubusercontent.com/archlinux/svntogit-packages/packages/shared-mime-info/trunk/MR_162.patch
"
prepare () {
@@ -22,7 +22,6 @@ build () {
meson --prefix=/usr \
-Dupdate-mimedb=false \
.. &&
- sed -i "s/xmlto /xmlto --skip-validation /g" build.ninja
ninja
}
@@ -30,3 +29,6 @@ package () {
DESTDIR=$PKG_DEST ninja install
}
+postinstall () {
+ update-mime-database /usr/share/mime
+}