diff --git a/.drone.yml b/.drone.yml index c89eb5c..5d2cea9 100644 --- a/.drone.yml +++ b/.drone.yml @@ -11,6 +11,7 @@ steps: path: /repo commands: - cp -f conf/{makepkg,pacman}.conf /etc/ + - cat conf/pacman-conf.d-noextract.conf >> /etc/pacman.conf - sed -i 's/# REPOSITORIES/[nyyu]\nServer = https:\\/\\/archlinux.nyyu.dev\\/nyyu\nSigLevel = Never/' /etc/pacman.conf - sed -i 's/#PACKAGER=".*"/PACKAGER="nyyu "/' /etc/makepkg.conf - pacman -Syu git jq pacman-contrib pandoc-bin --noconfirm diff --git a/conf/pacman-conf.d-noextract.conf b/conf/pacman-conf.d-noextract.conf new file mode 100644 index 0000000..76b762b --- /dev/null +++ b/conf/pacman-conf.d-noextract.conf @@ -0,0 +1,9 @@ +[options] +NoExtract = usr/share/help/* !usr/share/help/en* +NoExtract = usr/share/gtk-doc/html/* usr/share/doc/* +NoExtract = usr/share/locale/* usr/share/X11/locale/* usr/share/i18n/* +NoExtract = !*locale*/en*/* !usr/share/i18n/charmaps/UTF-8.gz !usr/share/*locale*/locale.* +NoExtract = !usr/share/*locales/en_?? !usr/share/*locales/i18n* !usr/share/*locales/iso* +NoExtract = !usr/share/*locales/trans* +NoExtract = usr/share/man/* usr/share/info/* +NoExtract = usr/share/vim/vim*/lang/*