diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 24 |
1 files changed, 12 insertions, 12 deletions
@@ -1,13 +1,11 @@ -# Maintainer: Diab Neiroukh <officiallazerl0rd@gmail.com> +# Maintainer: Diab Neiroukh <lazerl0rd at thezest dot dev> pkgname="layan-cursor-theme-git" -pkgver=1 +pkgver="r2.7a37de2" pkgrel=1 -epoch=1 -pkgdesc="A x-cursor theme inspired by layan gtk theme and based on capitaine-cursors" -arch=( - "any" -) +epoch=2 +arch=("any") +pkgdesc="A x-cursor theme inspired by the Layan GTK Theme and based on Capitaine Cursors." url="https://github.com/vinceliuice/Layan-cursors" license=( "GPL3" @@ -18,9 +16,6 @@ makedepends=( provides=( "layan-cursor-theme" ) -conflicts=( - "layan-cursor-theme" -) source=( "git+$url.git" ) @@ -28,11 +23,16 @@ b2sums=( "SKIP" ) +pkgver() +{ + cd "Layan-cursors" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + package() { install -d "$pkgdir/usr/share/icons" - - cd "Layan-cursors" || exit + cd "Layan-cursors" cp -r "dist" "$pkgdir/usr/share/icons/Layan-cursors" cp -r "dist-border" "$pkgdir/usr/share/icons/Layan-border-cursors" cp -r "dist-white" "$pkgdir/usr/share/icons/Layan-white-cursors" |