summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorfademind2018-03-22 08:38:18 +0100
committerfademind2018-03-22 08:38:18 +0100
commitacfeea82f3e2d4348ca22e6f67f5793268787c9c (patch)
tree862989afc9a50d3b6d4b08e738621248f1e3daae
downloadaur-maia-cursor-theme-git.tar.gz
maia-cursor-theme-git init merge
-rw-r--r--.SRCINFO21
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD35
3 files changed, 60 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..4928be1d1f8
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,21 @@
+# Generated by mksrcinfo v8
+# Thu Mar 22 07:37:21 UTC 2018
+pkgbase = maia-cursor-theme-git
+ pkgdesc = Maia cursor theme for Plasma (git version)
+ pkgver = 20180322.f72e913
+ pkgrel = 1
+ url = https://github.com/FadeMind/maia-cursor-theme
+ arch = any
+ license = GPL
+ makedepends = cmake
+ makedepends = git
+ makedepends = inkscape
+ makedepends = libcanberra
+ makedepends = xorg-xcursorgen
+ conflicts = maia-cursor-theme
+ replaces = maia-cursor-theme
+ source = git+https://github.com/FadeMind/maia-cursor-theme.git
+ sha256sums = SKIP
+
+pkgname = maia-cursor-theme-git
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..05c6d4d4c97
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+*
+!.gitignore
+!.SRCINFO
+!PKGBUILD
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..90205be1a86
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,35 @@
+# Maintainer: FadeMind <fademind@gmail.com>
+
+pkgname=maia-cursor-theme-git
+pkgver=20180322.f72e913
+pkgrel=1
+pkgdesc='Maia cursor theme for Plasma (git version)'
+arch=('any')
+url='https://github.com/FadeMind/maia-cursor-theme'
+license=('GPL')
+makedepends=('cmake' 'git' 'inkscape' 'libcanberra' 'xorg-xcursorgen')
+conflicts=("${pkgname/-git/}")
+replaces=("${pkgname/-git/}")
+source=("git+${url}.git")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd ${pkgname/-git/}
+ (
+ git show --format='%cI' -q master | sed 's/T.*//g;s/-//g'
+ echo .
+ git rev-parse --short master
+ ) | tr -d '\n'
+}
+
+build() {
+ . ${srcdir}/${pkgname/-git/}/build.sh
+ mkdir -p ${srcdir}/build
+ cd ${srcdir}/build
+ cmake ../${pkgname/-git/}
+ make
+}
+
+package() {
+ make -C build DESTDIR="${pkgdir}" install
+}