This commit is contained in:
2023-01-14 12:57:59 +01:00
parent 0ad6dbf3a9
commit 998913c5a2
4 changed files with 21 additions and 18 deletions

View File

@@ -1,25 +1,26 @@
#!/bin/bash
custom_plugin_isupdatable() {
plugin_isupdatable() {
return 1
}
custom_plugin_isbumpable() {
plugin_isbumpable() {
return 0
}
plugin_getpkgfiles() {
echo "${PKGDIR}/${PKGNAME}/files"
}
plugin_bump() {
local -r PKGREL=$(readSetting "${PKGBUILD}" "pkgrel" 0)
sed -i "s/pkgrel=.*/pkgrel=$((PKGREL+1))/" "${PKGBUILD}"
}
plugin_getlatestversion() {
return 1
}
custom_plugin_getpkgfiles() {
plugin_update() {
return 1
}
custom_plugin_bump() {
return 1
}
custom_plugin_getlatestversion() {
return 1
}
custom_plugin_update() {
return 1
}

View File

@@ -17,7 +17,8 @@ url="https://github.com/${_githubuser}/${_githubrepo}"
#install="${pkgname}.install"
#provides=()
#backup=()
source=("${_githubrepo}::https://github.com/${_githubuser}/${_githubrepo}/archive/refs/tags/${_pkgtagname}.tar.gz")
#source=("${_githubrepo}::https://github.com/${_githubuser}/${_githubrepo}/archive/refs/tags/${_pkgtagname}.tar.gz")
#source=("${_githubrepo}::https://github.com/${_githubuser}/${_githubrepo}/releases/download/v${pkgver}/${_githubrepo}-${pkgver}.tar.gz")
sha256sums=('SKIP')
build() {