diff options
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 15 |
2 files changed, 16 insertions, 3 deletions
@@ -1,5 +1,5 @@ # Generated by mksrcinfo v8 -# Wed Dec 23 12:59:37 UTC 2015 +# Fri Dec 25 14:51:13 UTC 2015 pkgbase = gnome-shell-theme-aurora pkgdesc = Aurora GNOME Shell,GTK2,GTK3 theme pkgver = 3.18.20151219 @@ -13,7 +13,7 @@ pkgbase = gnome-shell-theme-aurora depends = gtk-engine-murrine depends = gdk-pixbuf2 optdepends = gnome-tweak-tool: A tool to customize advanced GNOME 3 options. - source = gnome-shell-theme-aurora-3.18.20151219.tar.gz::https://www.dropbox.com/s/4ik0pbbpsiqe4ci/Aurora-3.18.tar.gz?dl=1 + source = gnome-shell-theme-aurora.tar.gz::https://www.dropbox.com/s/4ik0pbbpsiqe4ci/Aurora-3.18.tar.gz?dl=1 sha256sums = bae3d9c16ed37ad9e3a67a4d019d2e8bff70a7fadbf87a722c2a960d6fd56a4c pkgname = gnome-shell-theme-aurora @@ -10,9 +10,22 @@ url="http://opendesktop.org/content/show.php?content=170523" license=('GPL3') depends=(gnome-{shell,themes-standard} gtk-{engines,engine-murrine} gdk-pixbuf2) optdepends=("gnome-tweak-tool: A tool to customize advanced GNOME 3 options.") -source=("${pkgname}-${pkgver}.tar.gz::https://www.dropbox.com/s/4ik0pbbpsiqe4ci/Aurora-3.18.tar.gz?dl=1") +source=("${pkgname}.tar.gz::https://www.dropbox.com/s/4ik0pbbpsiqe4ci/Aurora-${pkgver%.*}.tar.gz?dl=1") sha256sums=('bae3d9c16ed37ad9e3a67a4d019d2e8bff70a7fadbf87a722c2a960d6fd56a4c') +pkgver() { + dir="$(echo Aurora-*)" + echo -n "${dir##*-}." + while read -rd $'\0' + do + if [[ "$REPLY" -gt "$max" ]] + then + max="$REPLY" + fi + done < <(find "$dir" -type f -exec stat --printf="%Y\0" '{}' +) + date -d "@$max" +%Y%m%d +} + package() { install -d ${pkgdir}/usr/share/themes cp --no-preserve=mode -r ${srcdir}/Aurora-3.18/* ${pkgdir}/usr/share/themes |