A minimal email TUI where you read with Markdown and write in Neovim. neomd.ssp.sh/docs
email markdown neovim tui
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

auto commit to AUR for Arch Linux

sspaeti c5011b6b 8b218805

+76
+44
.github/workflows/release.yml
··· 35 35 args: release --clean 36 36 env: 37 37 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 38 + 39 + aur: 40 + needs: release 41 + runs-on: ubuntu-latest 42 + steps: 43 + - uses: actions/checkout@v4 44 + 45 + - name: Extract version from tag 46 + id: version 47 + run: echo "pkgver=${GITHUB_REF_NAME#v}" >> "$GITHUB_OUTPUT" 48 + 49 + - name: Update PKGBUILD version and checksums 50 + run: | 51 + cd aur 52 + PKGVER="${{ steps.version.outputs.pkgver }}" 53 + TAG="v${PKGVER}" 54 + 55 + # Update pkgver 56 + sed -i "s/^pkgver=.*/pkgver=${PKGVER}/" PKGBUILD 57 + 58 + # Download release tarballs and compute checksums 59 + BASE_URL="https://github.com/ssp-data/neomd/releases/download/${TAG}" 60 + curl -sL "${BASE_URL}/neomd_${PKGVER}_linux_amd64.tar.gz" -o amd64.tar.gz 61 + curl -sL "${BASE_URL}/neomd_${PKGVER}_linux_arm64.tar.gz" -o arm64.tar.gz 62 + 63 + SHA_AMD64=$(sha256sum amd64.tar.gz | cut -d' ' -f1) 64 + SHA_ARM64=$(sha256sum arm64.tar.gz | cut -d' ' -f1) 65 + 66 + sed -i "s/^sha256sums_x86_64=.*/sha256sums_x86_64=('${SHA_AMD64}')/" PKGBUILD 67 + sed -i "s/^sha256sums_aarch64=.*/sha256sums_aarch64=('${SHA_ARM64}')/" PKGBUILD 68 + 69 + rm -f amd64.tar.gz arm64.tar.gz 70 + 71 + cat PKGBUILD 72 + 73 + - name: Publish to AUR 74 + uses: KSXGitHub/github-actions-deploy-aur@v3.0.1 75 + with: 76 + pkgname: neomd-bin 77 + pkgbuild: aur/PKGBUILD 78 + commit_username: Simon Späti 79 + commit_email: simon@ssp.sh 80 + ssh_private_key: ${{ secrets.AUR_SSH_PRIVATE_KEY }} 81 + commit_message: "Update to ${{ steps.version.outputs.pkgver }}"
+32
aur/PKGBUILD
··· 1 + # Maintainer: Simon Spaeti <simon at ssp dot sh> 2 + 3 + _pkgauthor=ssp-data 4 + _pkgname=neomd 5 + pkgname=${_pkgname}-bin 6 + pkgdesc="A minimal email TUI where you read with Markdown and write in Neovim" 7 + 8 + pkgver=0.4.3 9 + pkgrel=1 10 + _pkgvername=v${pkgver} 11 + 12 + arch=('x86_64' 'aarch64') 13 + _barch=('linux_amd64' 'linux_arm64') 14 + 15 + url="https://github.com/${_pkgauthor}/${_pkgname}" 16 + 17 + license=('MIT') 18 + 19 + provides=("${_pkgname}") 20 + conflicts=("${_pkgname}") 21 + 22 + source_x86_64=("${_pkgname}-${arch[0]}-${pkgver}.tgz::${url}/releases/download/${_pkgvername}/${_pkgname}_${pkgver}_${_barch[0]}.tar.gz") 23 + source_aarch64=("${_pkgname}-${arch[1]}-${pkgver}.tgz::${url}/releases/download/${_pkgvername}/${_pkgname}_${pkgver}_${_barch[1]}.tar.gz") 24 + sha256sums_x86_64=('87282f87ff952078543de4139816d09f6e2c55f39fbe490f92ad0a35e848eefd') 25 + sha256sums_aarch64=('00c935ffd4597d2d1301b8d97ca021445b94b8dfc190c52a3f54e9b7d0cbc6e6') 26 + 27 + package() { 28 + cd "${srcdir}/" || exit 29 + install -Dm755 "${_pkgname}" "${pkgdir}/usr/bin/${_pkgname}" 30 + install -Dm644 "README.md" "${pkgdir}/usr/share/doc/${pkgname}/README.md" 31 + install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" 32 + }