summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f1efc2b3aa3071d232bd7e44f3fb6d8c232885f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Maintainer: Igor Dyatlov <dyatlov.igor@protonmail.com>
# Contributor: tuberry <youremail@domain.com>

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
}