Skip to content

Instantly share code, notes, and snippets.

@canalguada
Last active August 29, 2015 14:07
Show Gist options
  • Save canalguada/a88d424cc19060f75b7f to your computer and use it in GitHub Desktop.
Save canalguada/a88d424cc19060f75b7f to your computer and use it in GitHub Desktop.
Arch Linux PKGBUILD - Vertex Gtk2, Gtk3, Metacity, Xfwm, Cinnamon and GNOME Shell themes (GNOME 3.14 version)
# $Id$
# Author: horst3180 @ deviantart
pkgname=vertex-themes
pkgver=20140928
pkgrel=1
pkgdesc='Vertex Gtk2, Gtk3, Metacity, Xfwm, Cinnamon and GNOME Shell themes (GNOME 3.14 version)'
gnomever=3.14
arch=('any')
url='http://horst3180.deviantart.com/art/Vertex-Theme-470663601'
license=('GPL3')
depends=('gtk-engine-murrine')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/horst3180/Vertex-theme/archive/${pkgver}.tar.gz")
sha256sums=('f0c4cbdbcb224e601d383fd9ca789ed47538537fecce61110dd4bc2a3736ee54')
build() {
cd Vertex-theme-${pkgver}
chmod +x ./build.sh
./build.sh
}
package() {
cd Vertex-theme-${pkgver}
cd Vertex-Gnome-Shell
install -dm 755 "$pkgdir"/usr/share/themes/Vertex-Gnome-Shell
cp -dr --no-preserve='ownership' * "$pkgdir"/usr/share/themes/Vertex-Gnome-Shell/
cd ../Vertex_alt_metacity
install -dm 755 "$pkgdir"/usr/share/themes/Vertex_alt_metacity
cp -dr --no-preserve='ownership' * "$pkgdir"/usr/share/themes/Vertex_alt_metacity/
cd ../Vertex-Cinnamon
install -dm 755 "$pkgdir"/usr/share/themes/Vertex-Cinnamon
cp -dr --no-preserve='ownership' * "$pkgdir"/usr/share/themes/Vertex-Cinnamon/
cd ../Gnome-${gnomever}
find "Vertex" -type f -not -name *~ -exec install -Dm644 '{}' "$pkgdir/usr/share/themes/{}" \;
find "Vertex-Dark" -type f -not -name *~ -exec install -Dm644 '{}' "$pkgdir/usr/share/themes/{}" \;
find "Vertex-Light" -type f -not -name *~ -exec install -Dm644 '{}' "$pkgdir/usr/share/themes/{}" \;
}
# vim: ts=2 sw=2 et:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment