Update
This commit is contained in:
parent
305f6ccee0
commit
4340405e6d
|
@ -5,3 +5,4 @@
|
|||
pkg/
|
||||
src/
|
||||
.idea/
|
||||
plasma-plasmoid-archupdate
|
||||
|
|
9
PKGBUILD
9
PKGBUILD
|
@ -2,7 +2,7 @@
|
|||
|
||||
_gitname="$(basename $(pwd))"
|
||||
pkgname=("melawy-$_gitname")
|
||||
pkgver=r1.dc85134
|
||||
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="com.github.Melawy.ArchUpdate"
|
||||
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() {
|
||||
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() {
|
||||
|
|
Loading…
Reference in New Issue