jrnl-venv-bin 2.0.0-1
This commit is contained in:
parent
ebdec4beca
commit
d9ac874924
|
@ -4,6 +4,7 @@ Helpers to generate AUR packages for Arch Linux.
|
|||
|
||||
## Provded packages
|
||||
|
||||
| Name | Version | Link |
|
||||
| -------------- | ----------- | -------------------------------------------------------------- |
|
||||
| Synology Drive | 2.0.0-11050 | [AUR](https://aur.archlinux.org/packages/synology-drive/) |
|
||||
| Name | Version | URL | AUR |
|
||||
| -------------------- | ----------- | ---------------------------------------------------------------------- | --------------------------------------------------------- |
|
||||
| Jrnl (isolated venv) | 2.0.0-1 | [jrnl.sh](https://jrnl.sh) | [AUR](https://aur.archlinux.org/packages/jrnl-venv-bin) |
|
||||
| Synology Drive | 2.0.0-11050 | [Synology Drive](https://www.synology.com/en-global/dsm/feature/drive) | [AUR](https://aur.archlinux.org/packages/synology-drive/) |
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
pkgbase = jrnl-venv-bin
|
||||
pkgdesc = Collect your thoughts and notes without leaving the command line. [installed inside a virtualenv]
|
||||
pkgdesc = Collect your thoughts and notes without leaving the command line. [installed inside a virtualenv to prevent depedencies directly on the system]
|
||||
pkgver = 2.0.0
|
||||
pkgrel = 1
|
||||
url = https://jrnl.sh/
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
pkgname="jrnl-venv-bin"
|
||||
pkgver="2.0.0"
|
||||
pkgrel="1"
|
||||
pkgdesc="Collect your thoughts and notes without leaving the command line. [installed inside a virtualenv]"
|
||||
pkgdesc="Collect your thoughts and notes without leaving the command line. [installed inside a virtualenv to prevent depedencies directly on the system]"
|
||||
arch=('i686' 'x86_64')
|
||||
url="https://jrnl.sh/"
|
||||
license=('MIT')
|
||||
|
@ -27,5 +27,6 @@ package() {
|
|||
cp -r "$srcdir/jrnl-venv-bin" "$pkgdir/opt/jrnl-venv-bin"
|
||||
cd "$pkgdir/" || exit
|
||||
mkdir -p usr/local/bin
|
||||
ln -s "$prgdir/opt/jrnl-venv-bin/venv/bin/jrnl" "$pkgdir/usr/local/bin/jrnl"
|
||||
ln -s "/opt/jrnl-venv-bin/venv/bin/jrnl" "$pkgdir/usr/local/bin/jrnl"
|
||||
sed -i "1s/.*/#!\/opt\/jrnl-venv-bin\/venv\/bin\/python/" "opt/jrnl-venv-bin/venv/bin/jrnl"
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
name = "jrnl-venv-bin"
|
||||
version = "2.0.0"
|
||||
build_number = "1"
|
||||
description = "Collect your thoughts and notes without leaving the command line. [installed inside a virtualenv]"
|
||||
description = "Collect your thoughts and notes without leaving the command line. [installed inside a virtualenv to prevent depedencies directly on the system]"
|
||||
license = "MIT"
|
||||
url = "https://jrnl.sh/"
|
||||
depends = ["python", "python-virtualenv", "python-pip"]
|
||||
|
|
|
@ -17,7 +17,8 @@ package() {
|
|||
cd "$pkgdir/" || exit
|
||||
mkdir -p usr/local/bin
|
||||
{% for binary in builder.binaries -%}
|
||||
ln -s "$prgdir/opt/{{ name }}/venv/bin/{{ binary }}" "$pkgdir/usr/local/bin/{{ binary }}"
|
||||
ln -s "/opt/{{ name }}/venv/bin/{{ binary }}" "$pkgdir/usr/local/bin/{{ binary }}"
|
||||
sed -i "1s/.*/#!\/opt\/{{ name }}\/venv\/bin\/python/" "opt/{{ name }}/venv/bin/{{ binary }}"
|
||||
{%- endfor %}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue