conrad 0.2.0-4 (fixed base PKGBUILD template)
This commit is contained in:
parent
bdb87354ea
commit
26824a27cc
|
@ -6,6 +6,6 @@ Helpers to generate AUR packages for Arch Linux.
|
||||||
|
|
||||||
| Name | Version | URL | AUR |
|
| Name | Version | URL | AUR |
|
||||||
| ---------------------- | ----------- | ---------------------------------------------------------------------- | --------------------------------------------------------- |
|
| ---------------------- | ----------- | ---------------------------------------------------------------------- | --------------------------------------------------------- |
|
||||||
| Conrad (isolated venv) | 0.2.0-2 | [vinayak-mehta/conrad](https://github.com/vinayak-mehta/conrad) | [AUR](https://aur.archlinux.org/packages/conrad-venv-bin) |
|
| Conrad (isolated venv) | 0.2.0-4 | [vinayak-mehta/conrad](https://github.com/vinayak-mehta/conrad) | [AUR](https://aur.archlinux.org/packages/conrad-venv-bin) |
|
||||||
| Jrnl (isolated venv) | 2.0.1-1 | [jrnl.sh](https://jrnl.sh) | [AUR](https://aur.archlinux.org/packages/jrnl-venv-bin) |
|
| Jrnl (isolated venv) | 2.0.1-1 | [jrnl.sh](https://jrnl.sh) | [AUR](https://aur.archlinux.org/packages/jrnl-venv-bin) |
|
||||||
| Synology Drive | 2.0.1-11061 | [Synology Drive](https://www.synology.com/en-global/dsm/feature/drive) | [AUR](https://aur.archlinux.org/packages/synology-drive/) |
|
| Synology Drive | 2.0.1-11061 | [Synology Drive](https://www.synology.com/en-global/dsm/feature/drive) | [AUR](https://aur.archlinux.org/packages/synology-drive/) |
|
||||||
|
|
|
@ -0,0 +1,14 @@
|
||||||
|
pkgbase = conrad-venv-bin
|
||||||
|
pkgdesc = conrad helps you track conferences and meetups on your terminal! [installed inside a virtualenv to prevent depedencies directly on the system]
|
||||||
|
pkgver = 0.2.0
|
||||||
|
pkgrel = 4
|
||||||
|
url = https://github.com/vinayak-mehta/conrad
|
||||||
|
arch = i686
|
||||||
|
arch = x86_64
|
||||||
|
license = MIT
|
||||||
|
depends = python
|
||||||
|
depends = python-virtualenv
|
||||||
|
depends = python-pip
|
||||||
|
|
||||||
|
pkgname = conrad-venv-bin
|
||||||
|
|
|
@ -0,0 +1,32 @@
|
||||||
|
# Maintainer: Felipe Martin <me@fmartingr.com>
|
||||||
|
|
||||||
|
pkgname="conrad-venv-bin"
|
||||||
|
pkgver="0.2.0"
|
||||||
|
pkgrel="4"
|
||||||
|
pkgdesc="conrad helps you track conferences and meetups on your terminal! [installed inside a virtualenv to prevent depedencies directly on the system]"
|
||||||
|
arch=('i686' 'x86_64')
|
||||||
|
url="https://github.com/vinayak-mehta/conrad"
|
||||||
|
license=('MIT')
|
||||||
|
depends=('python' 'python-virtualenv' 'python-pip' )
|
||||||
|
optdepends=()
|
||||||
|
conflicts=()
|
||||||
|
source=()
|
||||||
|
md5sums=()
|
||||||
|
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
mkdir -p "$srcdir/conrad-venv-bin"
|
||||||
|
cd "$srcdir/conrad-venv-bin" || exit
|
||||||
|
python3 -m venv venv
|
||||||
|
source venv/bin/activate
|
||||||
|
pip install conference-radar==0.2.0
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
mkdir "$pkgdir/opt"
|
||||||
|
cp -r "$srcdir/conrad-venv-bin" "$pkgdir/opt/conrad-venv-bin"
|
||||||
|
cd "$pkgdir/" || exit
|
||||||
|
mkdir -p usr/local/bin
|
||||||
|
ln -s "/opt/conrad-venv-bin/venv/bin/conrad" "$pkgdir/usr/local/bin/conrad"
|
||||||
|
sed -i "1s/.*/#!\/opt\/conrad-venv-bin\/venv\/bin\/python/" "opt/conrad-venv-bin/venv/bin/conrad"
|
||||||
|
}
|
|
@ -1,6 +1,6 @@
|
||||||
name = "conrad-venv-bin"
|
name = "conrad-venv-bin"
|
||||||
version = "0.2.0"
|
version = "0.2.0"
|
||||||
build_number = "2"
|
build_number = "4"
|
||||||
description = "conrad helps you track conferences and meetups on your terminal! [installed inside a virtualenv to prevent depedencies directly on the system]"
|
description = "conrad helps you track conferences and meetups on your terminal! [installed inside a virtualenv to prevent depedencies directly on the system]"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
url = "https://github.com/vinayak-mehta/conrad"
|
url = "https://github.com/vinayak-mehta/conrad"
|
||||||
|
|
|
@ -7,9 +7,9 @@ pkgdesc="{{ description }}"
|
||||||
arch=('{{ arch|join("' '") }}')
|
arch=('{{ arch|join("' '") }}')
|
||||||
url="{{ url }}"
|
url="{{ url }}"
|
||||||
license=('{{ license }}')
|
license=('{{ license }}')
|
||||||
depends=('{{ depends|join("' '") }}')
|
depends=({% for depend in depends %}'{{ depend }}' {% endfor %})
|
||||||
optdepends=('{{ optdepends|join("' '") }}')
|
optdepends=({% for opt in optdepends %}'{{ opt }}' {% endfor %})
|
||||||
conflicts=('{{ conflicts|join("' '") }}')
|
conflicts=({% for conflict in conflicts %}'{{ conflict }}' {% endfor %})
|
||||||
source=()
|
source=()
|
||||||
md5sums=()
|
md5sums=()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue