summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3a63aae825f56c0acf14f72a7853c4a5f5ccea44 (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
# Maintainer: Igor Dyatlov <dyatlov.igor@protonmail.com>
# Contributor: tuberry <youremail@domain.com>

pkgname=gnome-shell-extension-user-theme-x-git
_pkgname=user-theme-x
pkgver=3.38.r7.g5e0421c
pkgrel=1
pkgdesc="Customizable gnome shell user-theme with user stylesheet and night theme autoswitch support"
arch=('any')
url="https://github.com/tuberry/user-theme-x"
license=('LGPL3')
depends=('gnome-shell>=3.36')
makedepends=('git' 'make')
source=("$_pkgname::git+https://github.com/tuberry/user-theme-x.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
}