summaryrefslogtreecommitdiff
path: root/libre/initscripts/PKGBUILD
blob: 565d22f5dcc2cc828dda25cc1331b955899bcab1 (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
# $Id: PKGBUILD 100111 2010-11-20 11:25:37Z pierre $
# Maintainer: Thomas Bächler <thomas@archlinux.org>
# Maintainer: Aaron Griffin <aaron@archlinux.org>
# Maintainer (Parabola): fauno <fauno@kiwwwi.com.ar>

pkgname=initscripts
pkgver=2010.07
pkgrel=3
pkgdesc="System initialization/bootup scripts (Parabola branding)"
arch=('i686' 'x86_64')
url="http://parabolagnulinux.org"
license=('GPL')
groups=('base')
backup=(etc/inittab etc/rc.conf etc/rc.local etc/rc.local.shutdown etc/conf.d/wireless)
depends=('bash' 'awk' 'grep' 'coreutils' 'sed' 'udev'
         'net-tools' 'ncurses' 'kbd' 'findutils' 'sysvinit')
optdepends=('bridge-utils: Network bridging support'
            'dhcpcd: DHCP network configuration'
            'wireless_tools: Wireless networking')
install=initscripts.install
source=("ftp://ftp.archlinux.org/other/initscripts/${pkgname}-${pkgver}-1.tar.xz"
        'wireless.conf.d'
        'parabola-branding.patch')
md5sums=('0cea15a64d999d0e1aa0c4bb4dbd1af8'
         '027576534885b8d5dded9be546057b12'
         'b883c986aa8bdb8ca7b16a05e115db1d')

package() {
  cd ${srcdir}/${pkgname}-${pkgver}-1

  msg2 "Rebranding for Parabola"
  patch -Np1 -i ${srcdir}/parabola-branding.patch

  DESTDIR=${pkgdir} ./install.sh
  install -D -m644 ${srcdir}/wireless.conf.d ${pkgdir}/etc/conf.d/wireless
}