From 47f9048c0de423305e751dca500ff3ff46e33530 Mon Sep 17 00:00:00 2001 From: Valeria Fadeeva Date: Wed, 19 Apr 2023 11:09:29 +0500 Subject: [PATCH] Update --- .gitignore | 1 + PKGBUILD | 9 +++++++-- push.sh | 3 +++ 3 files changed, 11 insertions(+), 2 deletions(-) create mode 100755 push.sh diff --git a/.gitignore b/.gitignore index bf46a7c..406446b 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ pkg/ src/ .idea/ +plymouth-theme-lera-sugar diff --git a/PKGBUILD b/PKGBUILD index 712658a..13922f6 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,7 +2,7 @@ _gitname="$(basename $(pwd))" pkgname=("melawy-$_gitname") -pkgver=r1.4d4b813 +pkgver=1.2 pkgrel=1 pkgdesc="$(head -n 2 README.md | tail -n 1)" url="https://github.com/Melawy/$_gitname" @@ -20,9 +20,14 @@ sha256sums=("SKIP") THEME_NAME="melawy-lera-sugar" THEME_PATH="/usr/share/plymouth/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() { diff --git a/push.sh b/push.sh new file mode 100755 index 0000000..a9a24d8 --- /dev/null +++ b/push.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +git add . && git commit -m "Update" && git push