summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiab Neiroukh2021-03-18 02:47:23 +0000
committerDiab Neiroukh2021-03-18 02:47:23 +0000
commit65df6942f398c51f1690775e7d8a6d238f4f29f7 (patch)
tree19f0d6a41d56593a6b1ffea256e2cbafabaa5fe6
parent1a97ab4a0a90ee78d3b77c6b552b5f07f538580e (diff)
downloadaur-65df6942f398c51f1690775e7d8a6d238f4f29f7.tar.gz
Initial Commit
Signed-off-by: Diab Neiroukh <lazerl0rd@thezest.dev>
-rw-r--r--.SRCINFO7
-rw-r--r--.gitignore5
-rw-r--r--PKGBUILD24
3 files changed, 20 insertions, 16 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4a016a75ab9..1c0b6e69e50 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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 00000000000..0c709d78f01
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,5 @@
+pkg/
+src/
+Layan-cursors/
+
+*.pkg.* \ No newline at end of file
diff --git a/PKGBUILD b/PKGBUILD
index 7071bf83b38..eef6a40daaa 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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"