blob: d1320b97b11ffec8dd97b47665f59c1d7c1ca0fb (
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
32
33
34
35
36
|
# Maintainer: Víctor González <mrvikxd@gmail.com>
# Maintainer: Shi Liang <shiliang2008@msn.com>
pkgname=layan-gtk-theme-git
_reponame='Layan-gtk-theme'
pkgver=20210630
pkgrel=1
pkgdesc='An Flat Gtk+ theme based on Material Design'
arch=("any")
provides=("layan-gtk-theme")
conflicts=("layan-gtk-theme")
url="https://github.com/vinceliuice/Layan-gtk-theme"
license=("GPL2")
optdepends=(
"gtk-engine-murrine"
"gtk-engines"
)
makedepends=("git")
source=("git+${url}.git")
sha256sums=('SKIP')
pkgver(){
cd "${srcdir}/${_reponame}"
if [ $(git tag|wc -l) == 0 ]; then
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
else
git describe --tags | sed 's/-//g'
fi
}
package() {
dst="${pkgdir}/usr/share/themes"
mkdir -p "${dst}"
cd "${srcdir}/${_reponame}"
./install.sh -d "${dst}"
}
|