summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7deb3b9444a50632221a04964417529255aeb3e7 (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
# Maintainer: MaximMaximS <sklenicka dot maxim at gmail dot com>

pkgname=plymouth-themes-adi1090x-git
pkgver=r47.5d88174
pkgrel=3
pkgdesc="The plymouth theme collection by adi1090x"
arch=('any')
url="https://github.com/adi1090x/plymouth-themes"
license=('GPL-3.0-only')
depends=('plymouth')
makedepends=('git')
optdepends=('cantarell-fonts: text support'
            'ttf-dejavu: text support')
source=("git+https://github.com/adi1090x/plymouth-themes.git")
b2sums=('SKIP')

pkgver() {
	cd "plymouth-themes"
	printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
}

package() {
	cd "plymouth-themes"
	mkdir -p "${pkgdir}/usr/share/plymouth/themes"
	for folder in pack*/*/; do
		cp -r "$folder"  "${pkgdir}/usr/share/plymouth/themes"
	done
}