From af6321f364bbaee8f997ca17717b64075d9ccda0 Mon Sep 17 00:00:00 2001 From: MatMoul Date: Sat, 16 Mar 2024 21:29:28 +0100 Subject: [PATCH] Add gitea-tag --- models/gitea-tag/files/PKGBUILD | 30 ++++++++++++++++++++++++++++++ models/gitea-tag/settings | 6 ++++++ 2 files changed, 36 insertions(+) create mode 100644 models/gitea-tag/files/PKGBUILD create mode 100644 models/gitea-tag/settings diff --git a/models/gitea-tag/files/PKGBUILD b/models/gitea-tag/files/PKGBUILD new file mode 100644 index 0000000..db0c553 --- /dev/null +++ b/models/gitea-tag/files/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: user + +_giteaurl= +_giteauser= +_gitearepo= +_pkgtagname= + +pkgname= +pkgver=0 +pkgrel=0 +pkgdesc='Desc' +arch=('any') +url="${_giteaurl}/${_giteauser}/${_gitearepo}" +#license=('GPL3') +#depends=() +#makedepends=() +#optdepends=() +#install="${pkgname}.install" +#provides=() +#backup=() +source=("${_githubrepo}::${_giteaurl}/${_giteauser}/${_gitearepo}/archive/refs/tags/${_pkgtagname}.tar.gz") +sha256sums=('SKIP') + +build() { + cd "${_githubrepo}-${pkgver}" +} + +package() { + cd "${_githubrepo}-${pkgver}" +} diff --git a/models/gitea-tag/settings b/models/gitea-tag/settings new file mode 100644 index 0000000..cee244f --- /dev/null +++ b/models/gitea-tag/settings @@ -0,0 +1,6 @@ +plugin=gitea-tag +target=local-test +giteaurl= +giteauser= +gitearepo= +#aursshkey=