Update pkgver from first build, add .gitignore for build artifacts
sweet-cursors-git: r1.4b49c35 (source: gitea.moonarch.de fork) moonarch-git: r24.a6a5a70
This commit is contained in:
parent
0b4fadb6d7
commit
4b539f2092
7
.gitignore
vendored
Normal file
7
.gitignore
vendored
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
src/
|
||||||
|
pkg/
|
||||||
|
*.pkg.tar.zst
|
||||||
|
*.pkg.tar.xz
|
||||||
|
# Bare git repos cloned by makepkg
|
||||||
|
moonarch-git/moonarch/
|
||||||
|
sweet-cursors-git/Sweet-cursors/
|
||||||
@ -4,7 +4,7 @@
|
|||||||
# Maintainer: Dominik Kressler
|
# Maintainer: Dominik Kressler
|
||||||
|
|
||||||
pkgname=moonarch-git
|
pkgname=moonarch-git
|
||||||
pkgver=0
|
pkgver=r24.a6a5a70
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Moonarch desktop environment defaults — Niri, Waybar, Catppuccin Mocha"
|
pkgdesc="Moonarch desktop environment defaults — Niri, Waybar, Catppuccin Mocha"
|
||||||
arch=('any')
|
arch=('any')
|
||||||
|
|||||||
@ -4,11 +4,11 @@
|
|||||||
# Maintainer: Dominik Kressler
|
# Maintainer: Dominik Kressler
|
||||||
|
|
||||||
pkgname=sweet-cursors-git
|
pkgname=sweet-cursors-git
|
||||||
pkgver=0
|
pkgver=r1.4b49c35
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Sweet cursor theme"
|
pkgdesc="Sweet cursor theme"
|
||||||
arch=('any')
|
arch=('any')
|
||||||
url="https://github.com/EliverLara/Sweet"
|
url="https://gitea.moonarch.de/nevaforget/Sweet-cursors"
|
||||||
license=('GPL3')
|
license=('GPL3')
|
||||||
makedepends=('git')
|
makedepends=('git')
|
||||||
provides=('sweet-cursors')
|
provides=('sweet-cursors')
|
||||||
@ -17,12 +17,14 @@ source=("git+${url}.git")
|
|||||||
sha256sums=('SKIP')
|
sha256sums=('SKIP')
|
||||||
|
|
||||||
pkgver() {
|
pkgver() {
|
||||||
cd "$srcdir/Sweet"
|
cd "$srcdir/Sweet-cursors"
|
||||||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "$srcdir/Sweet"
|
cd "$srcdir"
|
||||||
install -dm755 "$pkgdir/usr/share/icons"
|
install -dm755 "$pkgdir/usr/share/icons"
|
||||||
cp -r kde/cursors/Sweet-cursors "$pkgdir/usr/share/icons/"
|
cp -r Sweet-cursors "$pkgdir/usr/share/icons/"
|
||||||
|
# Remove .git directory from installed files
|
||||||
|
rm -rf "$pkgdir/usr/share/icons/Sweet-cursors/.git"
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user