summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Jędrzejowski2019-03-18 22:36:44 +0100
committerAdam Jędrzejowski2019-03-18 22:36:44 +0100
commit69c7bc24b4207a4b4ab5a5ba33829f832dda860f (patch)
tree11cb19d87bacca7ec2258d73811e4aefd4a90f8f
downloadaur-yosemite-gtk-theme.tar.gz
Init commit
-rw-r--r--.SRCINFO15
-rw-r--r--.gitignore1
-rw-r--r--PKGBUILD28
3 files changed, 44 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..6329a5a460a
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = yosemite-gtk-theme
+ pkgdesc = Mac OSX Yosemite like theme for GTK 3, GTK 2 and Gnome-Shell etc.
+ pkgver = 2019.03.18
+ pkgrel = 1
+ url = https://vinceliuice.github.io/theme-yosemite
+ arch = any
+ license = GPL
+ makedepends = gawk
+ depends = gtk-engine-murrine
+ depends = gtk-engines
+ source = https://github.com/vinceliuice/Yosemite-gtk-theme/archive/master.zip
+ sha256sums = b691720edb3796751f328cbcc15eff3df01f72e47e8dbd6d341d3d02695c887d
+
+pkgname = yosemite-gtk-theme
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..f59ec20aabf
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+* \ No newline at end of file
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..8d3abbecf3e
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Adam Jędrzejowski <a.jedrzejowski@gmail.com>
+
+pkgname=yosemite-gtk-theme
+pkgName=Yosemite-gtk-theme
+pkgver=2019.03.18
+pkgrel=1
+pkgdesc='Mac OSX Yosemite like theme for GTK 3, GTK 2 and Gnome-Shell etc.'
+url='https://vinceliuice.github.io/theme-yosemite'
+depends=('gtk-engine-murrine' 'gtk-engines')
+makedepends=('gawk')
+license=('GPL')
+arch=('any')
+
+source=("https://github.com/vinceliuice/${pkgName}/archive/master.zip")
+sha256sums=('b691720edb3796751f328cbcc15eff3df01f72e47e8dbd6d341d3d02695c887d')
+
+package() {
+
+ gitdir="${srcdir}/${pkgName}-master"
+ install1="${gitdir}/Install"
+ install2="${install1}2"
+
+ awk 'NR==13{print "DEST_DIR='$pkgdir'/$DEST_DIR"}1' "${install1}" > "${install2}"
+ bash ${install2}
+
+ install -Dm644 "$gitdir/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+