This commit is contained in:
Valeria Fadeeva 2023-04-19 11:09:20 +05:00
parent 5c1860eff0
commit 617ac5d973
3 changed files with 11 additions and 2 deletions

1
.gitignore vendored
View File

@ -5,3 +5,4 @@
pkg/ pkg/
src/ src/
.idea/ .idea/
plasma-plasmoid-OnzeMenuKDE

View File

@ -2,7 +2,7 @@
_gitname="$(basename $(pwd))" _gitname="$(basename $(pwd))"
pkgname=("melawy-$_gitname") pkgname=("melawy-$_gitname")
pkgver=r1.6f29c89 pkgver=1.2
pkgrel=1 pkgrel=1
pkgdesc="$(head -n 2 README.md | tail -n 1)" pkgdesc="$(head -n 2 README.md | tail -n 1)"
url="https://github.com/Melawy/$_gitname" url="https://github.com/Melawy/$_gitname"
@ -20,9 +20,14 @@ sha256sums=("SKIP")
THEME_NAME="com.github.adhec.OnzeMenuKDE" THEME_NAME="com.github.adhec.OnzeMenuKDE"
THEME_PATH="/usr/share/plasma/plasmoids" THEME_PATH="/usr/share/plasma/plasmoids"
# pkgver() {
# cd "$srcdir/$_gitname"
# printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
# }
pkgver() { pkgver() {
cd "$srcdir/$_gitname" cd "$srcdir/$_gitname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" printf "1.%s" "$(git rev-list --count HEAD)"
} }
package() { package() {

3
push.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin/bash
git add . && git commit -m "Update" && git push