provide PKGBUILD

This commit is contained in:
Maximilian Keßler 2022-08-19 15:08:48 +02:00
commit f6e1053752
Signed by: max
GPG key ID: BCC5A619923C0BA5

30
PKGBUILD Normal file
View file

@ -0,0 +1,30 @@
# Maintainer: Maximilian Keßler <git@maximilian-kessler.de>
#
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
}