This commit is contained in:
Valeria Fadeeva 2023-04-19 11:09:44 +05:00
parent a77ae1466d
commit 31157c5c4a
3 changed files with 12 additions and 3 deletions

1
.gitignore vendored
View File

@ -5,3 +5,4 @@
pkg/
src/
.idea/
sddm-theme-lera-sugar

View File

@ -2,13 +2,13 @@
_gitname="$(basename $(pwd))"
pkgname=("melawy-$_gitname")
pkgver=r2.fad994c
pkgver=1.3
pkgrel=1
pkgdesc="$(head -n 2 README.md | tail -n 1)"
url="https://github.com/Melawy/$_gitname"
arch=("any")
license=("AGPL3")
depends=("sddm plasma-desktop")
depends=("sddm" "plasma-desktop")
optdepends=()
makedepends=("git")
backup=()
@ -20,9 +20,14 @@ sha256sums=("SKIP")
THEME_NAME="Melawy-Lera-Sugar"
THEME_PATH="/usr/share/sddm/themes"
# pkgver() {
# cd "$srcdir/$_gitname"
# printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
# }
pkgver() {
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() {

3
push.sh Executable file
View File

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