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 | |
parent | 1a97ab4a0a90ee78d3b77c6b552b5f07f538580e (diff) | |
download | aur-65df6942f398c51f1690775e7d8a6d238f4f29f7.tar.gz |
Initial Commit
Signed-off-by: Diab Neiroukh <lazerl0rd@thezest.dev>
-rw-r--r-- | .SRCINFO | 7 | ||||
-rw-r--r-- | .gitignore | 5 | ||||
-rw-r--r-- | PKGBUILD | 24 |
3 files changed, 20 insertions, 16 deletions
@@ -1,14 +1,13 @@ pkgbase = layan-cursor-theme-git - pkgdesc = A x-cursor theme inspired by layan gtk theme and based on capitaine-cursors - pkgver = 1 + pkgdesc = A x-cursor theme inspired by the Layan GTK Theme and based on Capitaine Cursors. + pkgver = r2.7a37de2 pkgrel = 1 - epoch = 1 + epoch = 2 url = https://github.com/vinceliuice/Layan-cursors arch = any license = GPL3 makedepends = git provides = layan-cursor-theme - conflicts = layan-cursor-theme source = git+https://github.com/vinceliuice/Layan-cursors.git b2sums = SKIP diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..0c709d78f01f --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +pkg/
+src/
+Layan-cursors/
+
+*.pkg.*
\ No newline at end of file @@ -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" |