diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 15 |
1 files changed, 14 insertions, 1 deletions
@@ -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 |