summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/splashy/PKGBUILD
blob: be38e8c429eab0d183c139f6e9b602c9ba6eecdb (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
# Contributor: Lexiw <llexiw@gmail.com>
# Contributor: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve>
# Contributor: dongiovanni <dongiovanni@archlinux.de>
# Contributor: Darwin Bautista <djclue917@gmail.com>
# Contributor: Jeremy Sands <cto@jeremysands.com>
# Contributor: Tons of people here http://bbs.archlinux.org/viewtopic.php?id=48978

pkgname=splashy
pkgver=0.3.13
pkgrel=1
pkgdesc="A next-generation user-space boot splashing system for Linux systems"
arch=('i686' 'x86_64')
url="http://splashy.alioth.debian.org/"
license=('GPL')
depends=('file' 'glib2' 'initscripts-splashy' 'directfb')
makedepends=('perl' 'pkgconfig' 'procps' 'gcc' 'make')
options=('!libtool')
source=(https://alioth.debian.org/frs/download.php/2691/splashy-0.3.13.tar.gz
	splashy.initcpio_install
	splashy.initcpio_hook
	splashy.install
	splashy-functions)
md5sums=('03b7ee4f31c56ee61463772f74bad8a0'
         '89ab896c3b6d8edc70f7233d4f447897'
         'f2d1b7ca4560a2888b08c5580dc8afae'
	 'c22046f52421e0663e02375e399ef37a'
         '91972fc154635806923befe3a70a1299')

build() {
	cd ${startdir}/src/${pkgname}-${pkgver}

	./configure --prefix=/usr --libdir=/usr/lib --sysconfdir=/etc --sbindir=/sbin --datarootdir=/usr/share --mandir=/usr/share/man --includedir=/usr/include
	make || return 1
	make DESTDIR=${startdir}/pkg install

	# Remove unnecessary files
	rm -rf ${startdir}/pkg/etc/{console-tools,default,init.d,lsb-base-logging.sh}
	rm -rf ${startdir}/pkg/usr/share/initramfs-tools

	install -D -m644 ${startdir}/splashy.initcpio_install ${startdir}/pkg/lib/initcpio/install/splashy
	install -D -m644 ${startdir}/splashy.initcpio_hook ${startdir}/pkg/lib/initcpio/hooks/splashy
	install -D -m644 ${startdir}/splashy-functions ${startdir}/pkg/etc/rc.d/splashy-functions

	sed -e 's|>/etc/splashy/themes<|>/usr/share/splashy/themes<|' -i ${startdir}/pkg/etc/splashy/config.xml
}
install=${pkgname}.install