Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BeryllArgent/ba7b1f62c8c88c35339e3b2c1764642e to your computer and use it in GitHub Desktop.
Save BeryllArgent/ba7b1f62c8c88c35339e3b2c1764642e to your computer and use it in GitHub Desktop.
diff --git a/PKGBUILD b/PKGBUILD
index 36e2437..4df2cd6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,19 +1,26 @@
# Maintainer: Warlock9000
pkgname=cloak-gtk2-gtk3-theme
-pkgver=3.20.2_04172016
-pkgrel=2
+pkgver=r13.0271126
+pkgrel=1
pkgdesc="A clean dark theme for GTK3 / GTK2, Gnome-Shell-Theme, Metacity Theme"
arch=('any')
-url="http://killhellokitty.deviantart.com/art/Cloak-3-20-2-04172016-603341133?q=gallery%3Akillhellokitty%2F26771632&qo=0"
+url="https://github.com/killhellokitty/Cloak-3.22"
license=('CC')
-source=('http://orig06.deviantart.net/e6b8/f/2016/108/0/0/cloak_3_20_2_04172016_by_killhellokitty-d9z7ozx.zip')
-md5sums=('027d39041ea2a6b1a132ef0269dd1809')
+source=("${pkgname}::git+${url}.git")
+sha256sums=('SKIP')
+makedepends=('git')
depends=('gtk-engine-murrine')
optdepends=('gnome-themes-standard: Default themes for the GNOME desktop' 'gnome-tweak-tool: A tool to customize advanced GNOME 3 options' 'gnome-shell-extension: User Theme extension for GNOME Shell')
+options=('!strip')
+
+pkgver() {
+ cd "${srcdir}/${pkgname}"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
package() {
- cd "$srcdir"
- mkdir -p "${pkgdir}"/usr/share/themes
- cp -rf Cloak-3.20 "${pkgdir}"/usr/share/themes/
+ cd "${srcdir}/${pkgname}/Cloak-3.22"
+ mkdir -p "${pkgdir}/usr/share/themes/Cloak-3.22"
+ cp -rf "gtk-2.0" "gtk-3.0" "${pkgdir}/usr/share/themes/Cloak-3.22/"
}
\ No newline at end of file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment