commit f6e10537529ce9ba9126beb475c9494ae6f107e8 Author: Maximilian Keßler Date: Fri Aug 19 15:08:48 2022 +0200 provide PKGBUILD diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..5478569 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Maximilian Keßler +# + +pkgname=university-setup-git +pkgver=r118.2ebd7f4 +pkgrel=1 +pkgdesc="University setup scripts" +arch=(any) +url="https://gitlab.com/kesslermaximilian/university-setup" +license=("MIT") +depends=("python" "python-dateutil" "python-pytz" "python-yaml") +optdepends=("python-google-api-python-client: for google calendar integration" + "python-google-auth-oauthlib: for google calendar integration") +makedepends=("git") +provides=(university-setup) +conflicts=(university-setup) +source=("$pkgname::git+https://gitlab.com/kesslermaximilian/university-setup.git") +sha512sums=("SKIP") + + +pkgver() { + cd "$pkgname" + + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +package() { + cd "$pkgname" + DESTDIR="$pkgdir" make install +}