summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilip Goto2018-05-04 13:07:13 +0200
committerPhilip Goto2018-05-04 13:07:13 +0200
commit4f85604217212b6eec4ca80d2e9046e7963a73f0 (patch)
tree06db822830e5a7530a639ac8b6c02d919e388046
downloadaur-4f85604217212b6eec4ca80d2e9046e7963a73f0.tar.gz
Initilize repo with first version
-rw-r--r--.SRCINFO28
-rw-r--r--PKGBUILD39
2 files changed, 67 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..07d15622610
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,28 @@
+pkgbase = cros-adapta-gtk-theme-git
+ pkgdesc = Adapta crostini theme
+ pkgver = latest
+ pkgrel = 1
+ url = https://github.com/adapta-project/adapta-gtk-theme
+ arch = any
+ license = GPL2
+ makedepends = git
+ makedepends = gnome-shell
+ makedepends = inkscape
+ makedepends = libxml2
+ makedepends = parallel
+ makedepends = sassc
+ depends = gtk-engine-murrine
+ depends = gtk3
+ optdepends = gnome-shell: The GNOME Shell
+ optdepends = gnome-flashback: The GNOME flashback shell
+ optdepends = budgie-desktop: The Budgie desktop
+ optdepends = cinnamon: The Cinnamon desktop
+ optdepends = xfdesktop: The Xfce desktop
+ provides = adapta-gtk-theme
+ conflicts = adapta-gtk-theme
+ conflicts = adapta-gtk-theme-git
+ source = git+https://chromium.googlesource.com/chromiumos/third_party/cros-adapta
+ sha256sums = SKIP
+
+pkgname = cros-adapta-gtk-theme-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..b046ec1cc99
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,39 @@
+# Maintainer: Philip Goto <philip.goto@gmail.com>
+
+pkgname=cros-adapta-gtk-theme-git
+pkgver=latest
+pkgrel=1
+pkgdesc='Adapta crostini theme'
+arch=('any')
+url='https://github.com/adapta-project/adapta-gtk-theme'
+license=('GPL2')
+depends=('gtk-engine-murrine' 'gtk3')
+makedepends=('git' 'gnome-shell' 'inkscape' 'libxml2' 'parallel' 'sassc')
+optdepends=('gnome-shell: The GNOME Shell'
+ 'gnome-flashback: The GNOME flashback shell'
+ 'budgie-desktop: The Budgie desktop'
+ 'cinnamon: The Cinnamon desktop'
+ 'xfdesktop: The Xfce desktop')
+provides=('adapta-gtk-theme')
+conflicts=('adapta-gtk-theme'
+ 'adapta-gtk-theme-git')
+source=('git+https://chromium.googlesource.com/chromiumos/third_party/cros-adapta')
+sha256sums=('SKIP')
+
+pkgver() {
+ cd cros-adapta
+
+ git describe --tags --always | sed 's/-/.r/; s/-g/./'
+}
+
+package() {
+ cd cros-adapta
+
+ install -dm 755 "${pkgdir}"/usr/share/themes/cros-adapta
+
+ cp -r assets "${pkgdir}"/usr/share/themes/cros-adapta/
+ cp -r gtk-2.0 "${pkgdir}"/usr/share/themes/cros-adapta/
+ cp -r gtk-3.0 "${pkgdir}"/usr/share/themes/cros-adapta/
+ cp -r gtk-3.22 "${pkgdir}"/usr/share/themes/cros-adapta/
+ cp index.theme "${pkgdir}"/usr/share/themes/cros-adapta/
+}