arch-pkgbuilder/models/custom/plugin

31 lines
390 B
Plaintext
Raw Permalink Normal View History

2023-01-13 22:04:14 +00:00
#!/bin/bash
2023-01-14 11:57:59 +00:00
plugin_isupdatable() {
2023-01-13 22:04:14 +00:00
return 1
}
2023-01-14 11:57:59 +00:00
plugin_isbumpable() {
2023-01-14 14:55:17 +00:00
return 1
}
plugin_ispushabletoaur() {
return 1
2023-01-13 22:04:14 +00:00
}
2023-01-14 11:57:59 +00:00
plugin_getpkgfiles() {
echo "${PKGDIR}/${PKGNAME}/files"
2023-01-13 22:04:14 +00:00
}
2023-01-14 11:57:59 +00:00
plugin_bump() {
local -r PKGREL=$(readSetting "${PKGBUILD}" "pkgrel" 0)
sed -i "s/pkgrel=.*/pkgrel=$((PKGREL+1))/" "${PKGBUILD}"
2023-01-13 22:04:14 +00:00
}
2023-01-14 11:57:59 +00:00
plugin_getlatestversion() {
2023-01-13 22:04:14 +00:00
return 1
}
2023-01-14 11:57:59 +00:00
plugin_update() {
2023-01-13 22:04:14 +00:00
return 1
2023-01-14 11:57:59 +00:00
}