summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChanathip Srithanrat2018-06-27 20:22:19 +0700
committerChanathip Srithanrat2018-06-27 20:22:19 +0700
commit2fdfaa65773cbd29b17d29a5eb57bd6478c8010b (patch)
treef0f887a2c91545dc50f33a9e62ceb868aca3b9bd
downloadaur-2fdfaa65773cbd29b17d29a5eb57bd6478c8010b.tar.gz
Initial commit
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD26
2 files changed, 39 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..ae6c4ca51c0
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,13 @@
+pkgbase = mcos-mjv-gtk-theme
+ pkgdesc = McOS-MJV GTK Theme
+ pkgver = 1.2
+ pkgrel = 1
+ url = https://www.opendesktop.org/p/1241688/
+ arch = any
+ license = GPL
+ depends = gtk-engine-murrine
+ source = https://dl.opendesktop.org/api/files/downloadfile/id/1529367928/s/$_s/t/$_t/mcos-mjv-gtk-theme-1.2.tar.xz
+ md5sums = f945ed9144d63782006b1dfbe9acc1fd
+
+pkgname = mcos-mjv-gtk-theme
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..48abe85a071
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Chanathip Srithanrat <axesd9@gmail.com>
+
+pkgname=mcos-mjv-gtk-theme
+pkgver=1.2
+pkgrel=1
+pkgdesc='McOS-MJV GTK Theme'
+arch=('any')
+url='https://www.opendesktop.org/p/1241688/'
+license=('GPL')
+depends=('gtk-engine-murrine')
+
+# Hash and Timestamp
+_p="var \(hash = '\(.*\)\|timetamp = '\(.*\)\)';"
+read _s _t <<< $(echo -n $(curl -s $url | sed -n "s/$_p/\2\3/p"))
+
+source=("https://dl.opendesktop.org/api/files/downloadfile/id/1529367928/s/$_s/t/$_t/$pkgname-$pkgver.tar.xz")
+md5sums=('f945ed9144d63782006b1dfbe9acc1fd')
+
+prepare() {
+ rm McOS-MJV/COPYING
+ rm McOS-MJV/READ\ ME
+}
+
+package() {
+ find */ -type f -exec install -Dm644 '{}' $pkgdir/usr/share/themes/'{}' \;
+}