diff --git a/README.md b/README.md index f2728eb..69857a7 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,6 @@ Helpers to generate AUR packages for Arch Linux. | Name | Version | URL | AUR | | ---------------------- | ----------- | ---------------------------------------------------------------------- | --------------------------------------------------------- | -| Conrad (isolated venv) | 0.3.0-1 | [vinayak-mehta/conrad](https://github.com/vinayak-mehta/conrad) | [AUR](https://aur.archlinux.org/packages/conrad-venv-bin) | +| Conrad (isolated venv) | 0.3.2-1 | [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) | | 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/) | diff --git a/conrad-venv-bin/builds/0.3.2-1/.SRCINFO b/conrad-venv-bin/builds/0.3.2-1/.SRCINFO new file mode 100644 index 0000000..11e5911 --- /dev/null +++ b/conrad-venv-bin/builds/0.3.2-1/.SRCINFO @@ -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.3.2 + pkgrel = 1 + 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 + diff --git a/conrad-venv-bin/builds/0.3.2-1/PKGBUILD b/conrad-venv-bin/builds/0.3.2-1/PKGBUILD new file mode 100644 index 0000000..ada0384 --- /dev/null +++ b/conrad-venv-bin/builds/0.3.2-1/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Felipe Martin + +pkgname="conrad-venv-bin" +pkgver="0.3.2" +pkgrel="1" +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.3.2 +} + +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" +} diff --git a/conrad-venv-bin/package.toml b/conrad-venv-bin/package.toml index 8f660a7..33b8c72 100644 --- a/conrad-venv-bin/package.toml +++ b/conrad-venv-bin/package.toml @@ -1,5 +1,5 @@ name = "conrad-venv-bin" -version = "0.3.0" +version = "0.3.2" build_number = "1" description = "conrad helps you track conferences and meetups on your terminal! [installed inside a virtualenv to prevent depedencies directly on the system]" license = "MIT"