diff options
| author | KunoiSayami <[email protected]> | 2022-11-11 00:55:26 +0800 |
|---|---|---|
| committer | KunoiSayami <[email protected]> | 2022-11-11 00:55:26 +0800 |
| commit | 63bebc5fcbc24b5f76a0fb43f8298a799d55beb8 (patch) | |
| tree | 41185420d9618a83fcfa863d25e6dcd7918add32 | |
| parent | fefacb209a4c119b4073e7bedac3d48a51b57b94 (diff) | |
fix(pkg): Fix obs-studio-browser dependency
* feat(pkg): kunoisayami-init: Use chrony instead of systemd-timesyncd
* feat(pkg): zsh-ssr-theme: add escape symbol in install script
* fix(script): Add missing raise statement
Signed-off-by: KunoiSayami <[email protected]>
| -rwxr-xr-x | repo/.hook/obs-studio-browser | 3 | ||||
| -rw-r--r-- | repo/kunoisayami-init/PKGBUILD | 4 | ||||
| -rw-r--r-- | repo/kunoisayami-init/kunoisayami-init.install | 2 | ||||
| -rw-r--r-- | repo/zsh-ssr-theme/PKGBUILD | 2 | ||||
| -rw-r--r-- | repo/zsh-ssr-theme/zsh-ssr-theme.install | 2 | ||||
| -rwxr-xr-x | utils/pkgbuild.py | 2 |
6 files changed, 9 insertions, 6 deletions
diff --git a/repo/.hook/obs-studio-browser b/repo/.hook/obs-studio-browser new file mode 100755 index 0000000..d3ff05d --- /dev/null +++ b/repo/.hook/obs-studio-browser @@ -0,0 +1,3 @@ +#!/bin/bash +sed -i '1 i cef-minimal-obs-bin' ../.yaydeps/obs-studio-browser +#sed -i '1 i pod2man' ../.yaydeps/obs-studio-browser
\ No newline at end of file diff --git a/repo/kunoisayami-init/PKGBUILD b/repo/kunoisayami-init/PKGBUILD index e4aa95b..d286592 100644 --- a/repo/kunoisayami-init/PKGBUILD +++ b/repo/kunoisayami-init/PKGBUILD @@ -1,11 +1,11 @@ # Maintainer: KunoiSayami <[email protected]> pkgname=kunoisayami-init -pkgver=0.0.3 +pkgver=0.0.4 pkgrel=1 pkgdesc="This package provides ssr's initialize vps script" arch=('x86_64') -depends=('zsh-ssr-theme') +depends=('zsh-ssr-theme' 'chrony') optdepends=( 'kunoisayami-meta: This package provides kunoisayami tools' ) diff --git a/repo/kunoisayami-init/kunoisayami-init.install b/repo/kunoisayami-init/kunoisayami-init.install index 2a74441..b587ba1 100644 --- a/repo/kunoisayami-init/kunoisayami-init.install +++ b/repo/kunoisayami-init/kunoisayami-init.install @@ -24,6 +24,6 @@ post_install() { locale-gen echo "LANG=en_GB.UTF-8" > /etc/locale.conf ln -s /usr/share/zoneinfo/Asia/Taipei /etc/localtime - systemctl enable --now systemd-timesyncd + systemctl enable --now chronyd note "SYSTEM REBOOT IS REQUIRED" } diff --git a/repo/zsh-ssr-theme/PKGBUILD b/repo/zsh-ssr-theme/PKGBUILD index b3a71db..55723a0 100644 --- a/repo/zsh-ssr-theme/PKGBUILD +++ b/repo/zsh-ssr-theme/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: KunoiSayami <[email protected]> pkgname=zsh-ssr-theme -pkgver=0.0.4 +pkgver=0.0.5 pkgrel=1 pkgdesc="This package provides ssr's zsh theme" arch=('any') diff --git a/repo/zsh-ssr-theme/zsh-ssr-theme.install b/repo/zsh-ssr-theme/zsh-ssr-theme.install index e3698f3..17753a9 100644 --- a/repo/zsh-ssr-theme/zsh-ssr-theme.install +++ b/repo/zsh-ssr-theme/zsh-ssr-theme.install @@ -15,5 +15,5 @@ yellow="${bold}$(tput setaf 3)" post_install() { note "Run \`echo \"[ -r /etc/zsh/ssr/zshrc.zsh ] && source /etc/zsh/ssr/zshrc.zsh\" > ~/.zshrc\` to enjoy it" - note "Also, maybe you will need `ln -s /etc/zsh/ssr/inputrc ~/.inputrc`" + note "Also, maybe you will need \`ln -s /etc/zsh/ssr/inputrc ~/.inputrc\`" } diff --git a/utils/pkgbuild.py b/utils/pkgbuild.py index 73b4679..1f82716 100755 --- a/utils/pkgbuild.py +++ b/utils/pkgbuild.py @@ -220,7 +220,6 @@ async def get_build_target( finished = await fetch_packages_from_directory(home_directory.joinpath(PKGBUILD_DIRECTORY_BASE)) - if len(BUILD_OVERRIDE): logger.warning("BUILD OVERRIDE: %s", BUILD_OVERRIDE) override = BUILD_OVERRIDE.split(";") @@ -337,6 +336,7 @@ async def do_build(target: PackageVersionWithPath) -> int: logger.info("Building %s (%s)", target.name, target.path.name) except OSError: logger.exception("Got exception while chdir to %s", target.path) + raise base_dir_name = target.path.name |
