Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish to PPA #11

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
"on":
push:
paths-ignore:
- "**.md"
pull_request:
paths-ignore:
- "**.md"
workflow_dispatch:

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build
run: |
n=rime-japanese-0.0~git$(date +%Y%m%d).$(git rev-parse HEAD | cut -c-6)
cd ..
mv rime-japanese $n
tar vcaf ./$n.tar.gz $n
mv ./*.tar.* $n
mv $n rime-japanese
- uses: Freed-Wu/publish-ppa-package@dev
with:
repository: freedwu/rime
gpg_private_key: ${{secrets.GPG_PRIVATE_KEY}}
gpg_passphrase: ${{secrets.GPG_PASSPHRASE}}
tarball: ./*.tar.*
deb_email: ${{secrets.DEB_EMAIL}}
deb_fullname: freedwu
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/build/
12 changes: 12 additions & 0 deletions debian/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# debmake
/copyright
/changelog

/.debhelper/
/debhelper-build-stamp
/files
/*.substvars
*.log

DEBIAN/
usr/
19 changes: 19 additions & 0 deletions debian/control
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
Source: rime-japanese
Section: utils
Priority: optional
Maintainer: Geza Kovacs <[email protected]>
Uploaders: Wu, Zhenyu <[email protected]>
Build-Depends: debhelper-compat (= 9),
librime-bin,
librime-data-stroke,
librime-data-terra-pinyin
Rules-Requires-Root: no
Standards-Version: 4.6.0
Homepage: https://github.com/rime/rime-japanese
Vcs-Git: https://salsa.debian.org/input-method-team/rime-japanese.git
Vcs-Browser: https://salsa.debian.org/input-method-team/rime-japanese

Package: rime-data-japanese
Architecture: any
Depends: ${misc:Depends}
Description: This is a layout for typing in Japanese 日本語. Supports words in all 3 scripts (Kanji, Hiragana, Katakana).
2 changes: 2 additions & 0 deletions debian/rime-data-japanese.install
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
build/japanese.* usr/share/rime-data/build/
japanese.*.yaml usr/share/rime-data
9 changes: 9 additions & 0 deletions debian/rules
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/usr/bin/make -f

%:
dh $@

override_dh_auto_configure:

override_dh_auto_build:
debian-rime-processor default