diff options
author | Diab Neiroukh | 2021-03-18 02:47:23 +0000 |
---|---|---|
committer | Diab Neiroukh | 2021-03-18 02:47:23 +0000 |
commit | 65df6942f398c51f1690775e7d8a6d238f4f29f7 (patch) | |
tree | 19f0d6a41d56593a6b1ffea256e2cbafabaa5fe6 /PKGBUILD | |
parent | 1a97ab4a0a90ee78d3b77c6b552b5f07f538580e (diff) | |
download | aur-layan-cursor-theme-git.tar.gz |
Initial Commit
Signed-off-by: Diab Neiroukh <lazerl0rd@thezest.dev>
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" |