From f6e10537529ce9ba9126beb475c9494ae6f107e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20Ke=C3=9Fler?= Date: Fri, 19 Aug 2022 15:08:48 +0200 Subject: [PATCH] provide PKGBUILD --- PKGBUILD | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 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 +}