This commit is contained in:
Valeria Fadeeva 2023-04-19 13:55:49 +05:00
parent 4340405e6d
commit 8d47436961
2 changed files with 0 additions and 36 deletions

View File

@ -1,36 +0,0 @@
# Maintainer: Valeria Fadeeva <valeria@fadeeva.me>
_gitname="$(basename $(pwd))"
pkgname=("melawy-$_gitname")
pkgver=1.2
pkgrel=1
pkgdesc="$(head -n 2 README.md | tail -n 1)"
url="https://github.com/Melawy/$_gitname"
arch=("any")
license=("AGPL3")
depends=("plasma-desktop")
optdepends=()
makedepends=("git")
backup=()
provides=("${pkgname}")
conflicts=("${pkgname}")
source=("git+$url.git")
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 "1.%s" "$(git rev-list --count HEAD)"
}
package() {
install -d "$pkgdir$THEME_PATH"
cp -vrf --no-dereference --preserve=links "$srcdir/$_gitname/$THEME_NAME" "$pkgdir$THEME_PATH/"
}

View File