blob: ab52b36e0ccfe0b2cf685949af30de07eb0eab48 (
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: Yamada Hayao <hayao@fascode.net>
# Contributor: YamaD <yamad.linuxer@gmail.com>
_pkgname=plymouth-theme-serene
pkgname="${_pkgname}-logo-git"
pkgver=r5.4b6c944
pkgrel=2
pkgdesc="SereneLinux用のplymouthテーマ"
arch=('any')
url="https://github.com/FascodeNet/${_pkgname}"
license=('GPL')
depends=('plymouth')
makedepends=('git')
optdepends=()
source=("git+${url}.git")
md5sums=('SKIP')
conflicts=("${_pkgname}")
install="${pkgname}.install"
themes=("serene-logo")
pkgver() {
cd "${_pkgname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package () {
local theme dir
for theme in ${themes[@]}; do
mkdir -p "${pkgdir}/usr/share/plymouth/themes/${theme}"
for dir in $(ls "${srcdir}/${_pkgname}/${theme}"); do
cp "${srcdir}/${_pkgname}/${theme}/${dir}/"* "${pkgdir}/usr/share/plymouth/themes/${theme}"
done
echo "${theme} done."
done
}
|