diff options
author | Joel | 2017-01-02 07:50:55 -0800 |
---|---|---|
committer | Joel | 2017-01-02 07:50:55 -0800 |
commit | ec90e8014cd90dc7d383bdd3f5cb03a01c7595b1 (patch) | |
tree | 05642538638a2c8196ff96135b698ff711fae0b1 | |
parent | 862e6f0c3fa9f72829876ed7cdbf4459ae131afc (diff) | |
download | aur-ec90e8014cd90dc7d383bdd3f5cb03a01c7595b1.tar.gz |
updated pkgbuild
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 26 |
2 files changed, 24 insertions, 15 deletions
@@ -1,17 +1,18 @@ pkgbase = osx-el-capitan-theme-git - pkgdesc = Theme mimics OS X 10.11 El Capitan for GTK3 and some DEs (GNOME Shell, Xfce, Cinnamon) - pkgver = v2.0 - pkgrel = 0 - url = https://github.com/Elbullazul/OS-X-El-Capitan + pkgdesc = Theme mimics OS X 10.12 macOS Sierra, formaly osx-el-capitan-theme, for GTK3 and some DEs (GNOME Shell, Xfce, Cinnamon) + pkgver = 10.9.r8.g3dff454 + pkgrel = 1 + url = https://github.com/Elbullazul/macOS-Sierra arch = any license = GPL3 + makedepends = git depends = gtk3>=3.18 depends = gtk-engine-murrine depends = gtk-engines optdepends = gnome-themes-standard: Required for the GTK3 theme conflicts = gnome-shell-theme-osx-el-capitan - source = https://github.com/B00merang-Project/macOS-Sierra/archive/master.zip - sha256sums = f1f673a515442a114236479fb6463859c1b6b4e8dc8da6e4cfbd91453bd57443 + source = git+https://github.com/B00merang-Project/macOS-Sierra + sha256sums = SKIP pkgname = osx-el-capitan-theme-git @@ -1,23 +1,31 @@ # Maintainer: joel <aullidolunar at gmai1 d0t c0m> # Maintainer: orumin <dev@orum.in> -_gitname=OS-X-El-Capitan +_gitname=macOS-Sierra + pkgname=osx-el-capitan-theme-git -pkgdesc="Theme mimics OS X 10.11 El Capitan for GTK3 and some DEs (GNOME Shell, Xfce, Cinnamon)" -pkgver=v2.0 -pkgrel=0 +pkgdesc="Theme mimics OS X 10.12 macOS Sierra, formaly osx-el-capitan-theme, for GTK3 and some DEs (GNOME Shell, Xfce, Cinnamon)" +pkgver=10.9.r8.g3dff454 +pkgrel=1 arch=('any') url="https://github.com/Elbullazul/${_gitname}" -source=('https://github.com/B00merang-Project/macOS-Sierra/archive/master.zip') +source=(git+https://github.com/B00merang-Project/${_gitname}) +makedepends=('git') depends=('gtk3>=3.18' 'gtk-engine-murrine' 'gtk-engines') optdepends=('gnome-themes-standard: Required for the GTK3 theme') license=('GPL3') conflicts=('gnome-shell-theme-osx-el-capitan') -sha256sums=('f1f673a515442a114236479fb6463859c1b6b4e8dc8da6e4cfbd91453bd57443') +sha256sums=('SKIP') + +pkgver() { + cd "$_gitname" + git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' +} package() { mkdir -p "$pkgdir/usr/share/backgrounds" - cd "$srcdir/macOS-Sierra-master" - mv 'Wallpaper.jpg' "$pkgdir/usr/share/backgrounds" - find . -type f -exec install -Dm644 '{}' "$pkgdir/usr/share/themes/OS-X-El-Capitan/{}" \; + cd "$srcdir/$_gitname" + mv 'Wallpaper.jpg' "$pkgdir/usr/share/backgrounds" + # Keep compatibility with old name + find . -type f -not -path './.git/*' -exec install -Dm644 '{}' "$pkgdir/usr/share/themes/OS-X-El-Capitan/{}" \; } |