summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/initscripts-splashy/PKGBUILD
blob: 5ffdcc7c83c7cd0369629ecd15cc8190b5d5e75b (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
# Contributor: Lexiw <llexiw@gmail.com>
# Contributor: Jeremy Sands <cto@jeremysands.com>

pkgname=initscripts-splashy
pkgver=2009.01
pkgrel=1
pkgdesc="System initialization/bootup scripts with splash support"
arch=('i686' 'x86_64')
url="http://www.archlinux.org"
license=('GPL')
groups=('base')
backup=(etc/inittab etc/rc.conf etc/rc.local etc/rc.local.shutdown)
depends=('glibc' 'bash' 'awk' 'grep' 'coreutils' 'sed' 'udev>=118' 'net-tools' 'ncurses' 'sysvinit-mod' 'which')
provides=('initscripts')
conflicts=('initscripts')
install=initscripts-splash.install
source=(ftp://ftp.archlinux.org/other/initscripts/initscripts-${pkgver}.tar.gz
#    rc.shutdown-splash.patch
#    functions-splash.patch
    splash.conf
        splash)
	md5sums=('b947f3efd5d4681459fe8073d610f1b5'
	#     'dc3248008da3e9d9a4504cac918cfebe'
	#     'b3ccfc3d4dac3614980ce1f5515e3d46'
	     'fe6da7a9242aca91779e165979bb7e3d'
             'd3fffe7133e6096937195084d2746889')

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

#  patch -Np1 -i ${startdir}/src/rc.shutdown-splash.patch || return 1
#  patch -Np1 -i ${startdir}/src/functions-splash.patch || return 1

  DESTDIR=$startdir/pkg ./install.sh

  install -D -m644 ${startdir}/splash ${startdir}/pkg/etc/rc.d/functions.d/splash
  install -D -m644 ${startdir}/splash.conf ${startdir}/pkg/etc/splash.conf
      }