# Maintainer: Igor Dyatlov # Contributor: tuberry pkgname=gnome-shell-extension-shuzhi-git _pkgname=shuzhi pkgver=3.38.r14.ga21d848 pkgrel=1 pkgdesc="A wallpaper generation extension for gnome shell, inspired by Jizhi" arch=('any') url="https://github.com/tuberry/shuzhi" license=('GPL3') depends=('gnome-shell>=3.38') makedepends=('git' 'make') checkdepends=('fortune-mod') source=("$_pkgname::git+https://github.com/tuberry/shuzhi.git") sha256sums=('SKIP') pkgver() { cd "$srcdir/$_pkgname" git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' } build() { cd "$srcdir/$_pkgname" make } package() { cd "$srcdir/$_pkgname" make DESTDIR="$pkgdir/" install }