-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: for Aur package, use PKGBUILD from this repo (#202)
- Loading branch information
Heiko Nickerl
authored
Aug 4, 2021
1 parent
de322b8
commit e32dc3c
Showing
2 changed files
with
58 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,23 @@ | ||
name: Aur Publish | ||
name: Publish to Aur | ||
|
||
on: | ||
push: | ||
tags: | ||
- "v*" | ||
- 'v*' | ||
|
||
jobs: | ||
aur-publish: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Publish AUR package | ||
uses: ATiltedTree/create-aur-release@v1 | ||
uses: KSXGitHub/github-actions-deploy-aur@v2.2.5 | ||
with: | ||
package_name: sodalite | ||
pkgname: sodalite | ||
pkgbuild: packaging/aur/PKGBUILD | ||
commit_username: "Heiko Nickerl" | ||
commit_email: "dev@hnicke.de" | ||
ssh_private_key: ${{ secrets.AUR_SSH_PRIVATE_KEY }} | ||
ssh_private_key: ${{ secrets.AUR_SSH_PRIVATE_KEY }} | ||
commit_message: Update AUR package |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
# Maintainer: Heiko Nickerl <dev at hnicke dot de> | ||
pkgname=sodalite | ||
pkgver=placeholder | ||
pkgrel=1 | ||
pkgdesc="Keyboard-driven terminal file navigator and launcher" | ||
arch=('any') | ||
url="https://www.github.com/hnicke/sodalite" | ||
license=('GPL') | ||
depends=( | ||
'python>=3.9' | ||
'python-binaryornot' | ||
'python-urwid' | ||
'python-yaml' | ||
'python-pyperclip' | ||
'python-pygments' | ||
'python-watchdog' | ||
'python-click' | ||
'python-blinker' | ||
'xdg-utils' | ||
) | ||
source=("https://github.com/hnicke/$pkgname/archive/v$pkgver.tar.gz") | ||
sha256sums=('8b7f25cf306cb55a63c3c97588d248ed42e43609a827afc5470c396662686ce0') | ||
|
||
_srcdir=$pkgname-$pkgver | ||
build() { | ||
cd $_srcdir | ||
python setup.py build | ||
} | ||
|
||
|
||
package() { | ||
cd $_srcdir | ||
python setup.py install \ | ||
--root="$pkgdir" \ | ||
--optimize=1 \ | ||
--skip-build | ||
|
||
install -Dm644 sodalite.desktop "$pkgdir/usr/share/applications/sodalite.desktop" | ||
install -Dm644 docs/sodalite.1 "$pkgdir/usr/share/man/man1/sodalite.1" | ||
install -Dm644 docs/sodalite-open.1 "$pkgdir/usr/share/man/man1/sodalite-open.1" | ||
install -Dm755 scripts/sodalite-open "$pkgdir/usr/bin/sodalite-open" | ||
install -Dm644 README.md "$pkgdir/usr/share/doc/sodalite/README" | ||
install -Dm644 copyright "$pkgdir/usr/share/doc/sodalite/copyright" | ||
install -Dm644 CHANGELOG.md "$pkgdir/usr/share/doc/sodalite/changelog" | ||
install -Dm644 scripts/shell-integration.sh "$pkgdir/usr/share/sodalite/shell-integration.sh" | ||
install -Dm644 scripts/shell-integration.fish "$pkgdir/usr/share/sodalite/shell-integration.fish" | ||
install -Dm644 sodalite/core/sodalite.conf "$pkgdir/usr/share/sodalite/sodalite.conf" | ||
} |