summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-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 4a016a75ab99..1c0b6e69e505 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 000000000000..0c709d78f01f
--- /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 7071bf83b38a..eef6a40daaa1 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"