summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 04687715cfbbd2eb6a836371978e40a27917b174 (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
37
38
39
40
41
# Maintainer: Chris Chamberlain <chris@chamberlain.id.au>
_themename=minimal-dark
pkgname=plymouth-theme-minimal-dark-git
pkgver=r8.62e95c8
pkgrel=1
arch=('any')
pkgdesc="Minimal and dark Arch Linux theme for Plymouth, based upon the Debian theme"
url="https://github.com/bobwallis/minimal-dark"
license=('unknown')
groups=()
depends=()
makedepends=('git') # 'bzr', 'git', 'mercurial' or 'subversion'
replaces=()
backup=()
options=()
install=
source=('git+https://github.com/bobwallis/minimal-dark')
noextract=()
sha256sums=('SKIP')

# Please refer to the 'USING VCS SOURCES' section of the PKGBUILD man page for
# a description of each element in the source array.

pkgver() {
	cd "minimal-dark"
    # Git, no tags available
	printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
	cd "minimal-dark"/plymouth

    _themedir="$pkgdir/usr/share/plymouth/themes/$_themename"

    install -Dm 0644 logo.png "${_themedir}/logo.png"
    install -Dm 0644 minimal-dark.plymouth "${_themedir}/minimal-dark.plymouth"
    install -Dm 0644 minimal-dark.script "${_themedir}/minimal-dark.script"
    install -Dm 0644 password_field.png "${_themedir}/password_field.png"
    install -Dm 0644 progress_dot_off.png "${_themedir}/progress_dot_off.png"
    install -Dm 0644 progress_dot_on.png "${_themedir}/progress_dot_on.png"
}