diff --git a/srcpkgs/xbps-triggers/files/dkms b/srcpkgs/xbps-triggers/files/dkms index b7267fe1887..093814c7228 100755 --- a/srcpkgs/xbps-triggers/files/dkms +++ b/srcpkgs/xbps-triggers/files/dkms @@ -20,6 +20,8 @@ UPDATE="$5" DKMS=usr/sbin/dkms +export PATH="$PATH:/usr/local/bin" + remove_modules() { local _modver _kver diff --git a/srcpkgs/xbps-triggers/files/gconf-schemas b/srcpkgs/xbps-triggers/files/gconf-schemas index b3efde8ed99..8c2c6cacf60 100755 --- a/srcpkgs/xbps-triggers/files/gconf-schemas +++ b/srcpkgs/xbps-triggers/files/gconf-schemas @@ -24,6 +24,8 @@ PKGNAME="$3" VERSION="$4" UPDATE="$5" +export PATH="$PATH:/usr/local/bin" + # The gconftool-2 binary program. GCONFTOOL2="usr/bin/gconftool-2" diff --git a/srcpkgs/xbps-triggers/files/gio-modules b/srcpkgs/xbps-triggers/files/gio-modules index ae74ec7bfb3..c8656beb27b 100755 --- a/srcpkgs/xbps-triggers/files/gio-modules +++ b/srcpkgs/xbps-triggers/files/gio-modules @@ -14,6 +14,8 @@ PKGNAME="$3" VERSION="$4" UPDATE="$5" +export PATH="$PATH:/usr/local/bin" + gioquery=usr/bin/gio-querymodules giocachedir=usr/lib/gio/modules diff --git a/srcpkgs/xbps-triggers/files/gsettings-schemas b/srcpkgs/xbps-triggers/files/gsettings-schemas index 5bd17827369..27e8054b583 100755 --- a/srcpkgs/xbps-triggers/files/gsettings-schemas +++ b/srcpkgs/xbps-triggers/files/gsettings-schemas @@ -14,6 +14,8 @@ PKGNAME="$3" VERSION="$4" UPDATE="$5" +export PATH="$PATH:/usr/local/bin" + # The glib-compile-schemas binary program. GSCHEMASCOMP="usr/bin/glib-compile-schemas" diff --git a/srcpkgs/xbps-triggers/files/gtk-icon-cache b/srcpkgs/xbps-triggers/files/gtk-icon-cache index 679408702ae..04a4754b568 100755 --- a/srcpkgs/xbps-triggers/files/gtk-icon-cache +++ b/srcpkgs/xbps-triggers/files/gtk-icon-cache @@ -14,6 +14,8 @@ PKGNAME="$3" VERSION="$4" UPDATE="$5" +export PATH="$PATH:/usr/local/bin" + iconcache_bin=usr/bin/gtk-update-icon-cache case "$ACTION" in diff --git a/srcpkgs/xbps-triggers/files/gtk-immodules b/srcpkgs/xbps-triggers/files/gtk-immodules index 15e8ae69d26..8b188005379 100755 --- a/srcpkgs/xbps-triggers/files/gtk-immodules +++ b/srcpkgs/xbps-triggers/files/gtk-immodules @@ -14,6 +14,8 @@ PKGNAME="$3" VERSION="$4" UPDATE="$5" +export PATH="$PATH:/usr/local/bin" + immodules_bin=usr/bin/gtk-query-immodules-2.0 immodules_db=etc/gtk-2.0/gtk.immodules diff --git a/srcpkgs/xbps-triggers/files/gtk-pixbuf-loaders b/srcpkgs/xbps-triggers/files/gtk-pixbuf-loaders index 71bc6a3b4fd..32eca74e2d3 100755 --- a/srcpkgs/xbps-triggers/files/gtk-pixbuf-loaders +++ b/srcpkgs/xbps-triggers/files/gtk-pixbuf-loaders @@ -14,6 +14,8 @@ PKGNAME="$3" VERSION="$4" UPDATE="$5" +export PATH="$PATH:/usr/local/bin" + pixbuf_bin=usr/bin/gdk-pixbuf-query-loaders case "$ACTION" in diff --git a/srcpkgs/xbps-triggers/files/gtk3-immodules b/srcpkgs/xbps-triggers/files/gtk3-immodules index 112e706fdcf..2022dd1292e 100755 --- a/srcpkgs/xbps-triggers/files/gtk3-immodules +++ b/srcpkgs/xbps-triggers/files/gtk3-immodules @@ -14,6 +14,8 @@ PKGNAME="$3" VERSION="$4" UPDATE="$5" +export PATH="$PATH:/usr/local/bin" + immodules_bin=usr/bin/gtk-query-immodules-3.0 immodules_db=etc/gtk-3.0/gtk.immodules diff --git a/srcpkgs/xbps-triggers/files/info-files b/srcpkgs/xbps-triggers/files/info-files index 2a792cb357f..aac27dcf0a1 100755 --- a/srcpkgs/xbps-triggers/files/info-files +++ b/srcpkgs/xbps-triggers/files/info-files @@ -14,6 +14,8 @@ PKGNAME="$3" VERSION="$4" UPDATE="$5" +export PATH="$PATH:/usr/local/bin" + installinfo=usr/bin/install-info infodir=usr/share/info diff --git a/srcpkgs/xbps-triggers/files/initramfs-tools b/srcpkgs/xbps-triggers/files/initramfs-tools index 1891bc2e23a..81416d23704 100755 --- a/srcpkgs/xbps-triggers/files/initramfs-tools +++ b/srcpkgs/xbps-triggers/files/initramfs-tools @@ -16,6 +16,8 @@ PKGNAME="$3" VERSION="$4" UPDATE="$5" +export PATH="$PATH:/usr/local/bin" + update_initramfs=usr/sbin/update-initramfs case "$ACTION" in diff --git a/srcpkgs/xbps-triggers/files/mimedb b/srcpkgs/xbps-triggers/files/mimedb index a76ca71b9b2..91ceec44270 100755 --- a/srcpkgs/xbps-triggers/files/mimedb +++ b/srcpkgs/xbps-triggers/files/mimedb @@ -14,6 +14,8 @@ PKGNAME="$3" VERSION="$4" UPDATE="$5" +export PATH="$PATH:/usr/local/bin" + mimedb_bin=usr/bin/update-mime-database case "$ACTION" in diff --git a/srcpkgs/xbps-triggers/files/openrc-service b/srcpkgs/xbps-triggers/files/openrc-service index 5e9547aa9e8..a2aa6186338 100755 --- a/srcpkgs/xbps-triggers/files/openrc-service +++ b/srcpkgs/xbps-triggers/files/openrc-service @@ -20,6 +20,8 @@ PKGNAME="$3" VERSION="$4" UPDATE="$5" +export PATH="$PATH:/usr/local/bin" + initdir=etc/init.d metadatadir=var/db/xbps/metadata/${PKGNAME} diff --git a/srcpkgs/xbps-triggers/files/pango-modules b/srcpkgs/xbps-triggers/files/pango-modules index ab21be33b1a..8bda75879e3 100755 --- a/srcpkgs/xbps-triggers/files/pango-modules +++ b/srcpkgs/xbps-triggers/files/pango-modules @@ -14,6 +14,8 @@ PKGNAME="$3" VERSION="$4" UPDATE="$5" +export PATH="$PATH:/usr/local/bin" + pango_bin=usr/bin/pango-querymodules pango_modules=etc/pango/pango.modules diff --git a/srcpkgs/xbps-triggers/files/register-shell b/srcpkgs/xbps-triggers/files/register-shell index e2cacfab770..0c3cf9414e2 100755 --- a/srcpkgs/xbps-triggers/files/register-shell +++ b/srcpkgs/xbps-triggers/files/register-shell @@ -14,6 +14,8 @@ PKGNAME="$3" VERSION="$4" UPDATE="$5" +export PATH="$PATH:/usr/local/bin" + case "$ACTION" in targets) echo "post-install post-remove" diff --git a/srcpkgs/xbps-triggers/files/system-accounts b/srcpkgs/xbps-triggers/files/system-accounts index 6f1cbe98469..dc2e56d1471 100755 --- a/srcpkgs/xbps-triggers/files/system-accounts +++ b/srcpkgs/xbps-triggers/files/system-accounts @@ -14,6 +14,8 @@ PKGNAME="$3" VERSION="$4" UPDATE="$5" +export PATH="$PATH:/usr/local/bin" + USERADD=usr/sbin/useradd USERDEL=usr/sbin/userdel GROUPADD=usr/sbin/groupadd diff --git a/srcpkgs/xbps-triggers/files/update-desktopdb b/srcpkgs/xbps-triggers/files/update-desktopdb index ea14b9d01b5..f5fd994fdfd 100755 --- a/srcpkgs/xbps-triggers/files/update-desktopdb +++ b/srcpkgs/xbps-triggers/files/update-desktopdb @@ -15,6 +15,8 @@ PKGNAME="$3" VERSION="$4" UPDATE="$5" +export PATH="$PATH:/usr/local/bin" + desktopdb_bin=usr/bin/update-desktop-database desktopdb_dir=usr/share/applications desktopdb_cache=${desktopdb_dir}/mimeinfo.cache diff --git a/srcpkgs/xbps-triggers/files/x11-fonts b/srcpkgs/xbps-triggers/files/x11-fonts index 5219631f9ed..3cd7f3b825a 100755 --- a/srcpkgs/xbps-triggers/files/x11-fonts +++ b/srcpkgs/xbps-triggers/files/x11-fonts @@ -16,6 +16,8 @@ PKGNAME="$3" VERSION="$4" UPDATE="$5" +export PATH="$PATH:/usr/local/bin" + mkfontdir=usr/bin/mkfontdir mkfontscale=usr/bin/mkfontscale fccache=usr/bin/fc-cache diff --git a/srcpkgs/xbps-triggers/files/xml-catalog b/srcpkgs/xbps-triggers/files/xml-catalog index 52dcb4c9ba3..433f7d5bb19 100755 --- a/srcpkgs/xbps-triggers/files/xml-catalog +++ b/srcpkgs/xbps-triggers/files/xml-catalog @@ -15,6 +15,8 @@ PKGNAME="$3" VERSION="$4" UPDATE="$5" +export PATH="$PATH:/usr/local/bin" + sgml_catalog=usr/share/sgml/catalog xml_catalog=usr/share/xml/catalog diff --git a/srcpkgs/xbps-triggers/template b/srcpkgs/xbps-triggers/template index 680bad29a6e..e603a9384bf 100644 --- a/srcpkgs/xbps-triggers/template +++ b/srcpkgs/xbps-triggers/template @@ -1,9 +1,11 @@ # Template file for 'xbps-triggers' pkgname=xbps-triggers -version=0.16 +version=0.17 build_style=custom-install short_desc="XBPS triggers" maintainer="Juan RP " +homepage="http://code.google.com/p/xbps" +license="BSD" long_desc=" This package installs the triggers used by the XBPS binary packages."