Package Details: i3-agenda-git 1.8.r0.g65fa0e8-1

Git Clone URL: https://aur.archlinux.org/i3-agenda-git.git (read-only, click to copy)
Package Base: i3-agenda-git
Description: Show your next google calendar event in polybar or i3-bar
Upstream URL: https://github.com/rosenpin/i3-agenda
Keywords: calendar i3
Licenses: Unlicense
Conflicts: i3-agenda
Provides: i3-agenda
Submitter: otreblan
Maintainer: otreblan
Last Packager: otreblan
Votes: 0
Popularity: 0.000000
First Submitted: 2020-04-13 17:48 (UTC)
Last Updated: 2023-11-05 20:57 (UTC)

Latest Comments

mathieu.clabaut commented on 2023-11-05 20:51 (UTC)

Since 1.8, I need the following PKGBUILD:

# Maintainer: Otreblan <otreblain@gmail.com>

pkgname=i3-agenda-git
pkgver=1.8.r0.g65fa0e8
pkgrel=1
pkgdesc=" Show your next google calendar event in polybar or i3-bar"
arch=('any')
url="https://github.com/rosenpin/i3-agenda"
license=('Unlicense')
groups=()
depends=("python-bidi"
    "python-google-api-python-client"
    "python-google-auth-httplib2"
    "python-google-auth-oauthlib"
    "python-aiohttp"
    "python-typing_extensions"
)
makedepends=("python-setuptools" "git")
checkdepends=()
optdepends=()
provides=(${pkgname%-git})
conflicts=(${pkgname%-git})
replaces=()
backup=()
options=()
install=
changelog=
source=("$pkgname::git+$url.git")
noextract=()
sha256sums=("SKIP")

pkgver() {
    cd "$srcdir/$pkgname"
    ( set -o pipefail
    git describe --long 2>/dev/null | sed 's/^v-\?//;s/\([^-]*-g\)/r\1/;s/-/./g' ||
    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
    )
}

build() {
    cd "$pkgname"
    python -m  build
}

package() {
    cd "$pkgname"
        python -m installer --destdir="$pkgdir" dist/*.whl
}