blob: a9d1bde1e9c9ba42e53461a28ab5f8dd8e0af277 (
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
|
pkgname=plymouth
pkgver=0.8.8.52.g37d2e40
pkgrel=1
pkgdesc="A graphical boot splash screen with kernel mode-setting support (Git verson for now)"
url="http://cgit.freedesktop.org/cgit/plymouth/"
arch=('i686' 'x86_64')
license=('GPL')
depends=('libdrm' 'pango')
makedepends=('git' 'docbook-xsl')
optdepends=('ttf-dejavu')
backup=('etc/plymouth/plymouthd.conf')
options=('!emptydirs')
conflicts=('plymouth-git')
source=(
'git://anongit.freedesktop.org/plymouth'
'plymouth.hook'
'plymouth.install'
'plymouth-encrypt.hook'
'plymouth-encrypt.install'
'arch-logo.png'
)
md5sums=(
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
)
pkgver() {
cd "$srcdir"/plymouth
git describe --always | sed 's/-/./g'
}
build() {
cd "$srcdir"/plymouth
./autogen.sh --prefix=/usr \
--exec-prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--libdir=/usr/lib \
--libexecdir=/usr/lib \
--sbindir=/usr/bin \
--enable-drm-renderer \
--enable-pango \
--with-logo=/usr/share/plymouth/arch-logo.png \
--with-boot-tty=/dev/tty7 \
--with-shutdown-tty=/dev/tty7 \
--without-system-root-install
make
}
package() {
cd "$srcdir"/plymouth
make DESTDIR="$pkgdir" install
# logo
install -Dm644 "$srcdir"/arch-logo.png "$pkgdir/usr/share/plymouth/arch-logo.png"
# remove non-arch script
rm "$pkgdir/usr/lib/plymouth/"*-initrd
rm "$pkgdir/usr/bin/plymouth-set-default-theme"
# initcpio
install -Dm644 "$srcdir/plymouth.hook" "$pkgdir/usr/lib/initcpio/hooks/plymouth"
install -Dm644 "$srcdir/plymouth.install" "$pkgdir/usr/lib/initcpio/install/plymouth"
install -Dm644 "$srcdir/plymouth-encrypt.hook" "$pkgdir/usr/lib/initcpio/hooks/plymouth-encrypt"
install -Dm644 "$srcdir/plymouth-encrypt.install" "$pkgdir/usr/lib/initcpio/install/plymouth-encrypt"
}
|