diff options
Diffstat (limited to 'testing/sysvinit/PKGBUILD')
-rw-r--r-- | testing/sysvinit/PKGBUILD | 61 |
1 files changed, 0 insertions, 61 deletions
diff --git a/testing/sysvinit/PKGBUILD b/testing/sysvinit/PKGBUILD deleted file mode 100644 index 9772bf6a5..000000000 --- a/testing/sysvinit/PKGBUILD +++ /dev/null @@ -1,61 +0,0 @@ -# $Id: PKGBUILD 168493 2012-10-12 19:09:19Z thomas $ -# Maintainer: Eric Belanger <eric@archlinux.org> - -pkgbase=sysvinit -pkgname=('sysvinit-tools' 'sysvinit') -pkgver=2.88 -pkgrel=9 -arch=('i686' 'x86_64') -url="http://savannah.nongnu.org/projects/sysvinit" -license=('GPL') -depends=('util-linux' 'coreutils' 'glibc' 'awk') -source=(http://download.savannah.gnu.org/releases/sysvinit/${pkgbase}-${pkgver}dsf.tar.bz2 - "0001-simplify-writelog.patch" - "0002-remove-ansi-escape-codes-from-log-file.patch") -sha1sums=('f2ca149df1314a91f3007cccd7a0aa47d990de26' - '326112c8a9bd24cb45bd4bb2f958a25f0ac4773d' - 'bbecfa7dfa45ac7c37ed8ac59fb53f6a85064b32') - -build() { - cd "${srcdir}/${pkgbase}-${pkgver}dsf" - - # FS#30005 - patch -p1 -d "src" -i "${srcdir}/0001-simplify-writelog.patch" - patch -p1 -d "src" -i "${srcdir}/0002-remove-ansi-escape-codes-from-log-file.patch" - - make -} - -package_sysvinit-tools() { - pkgdesc="Linux System V Init Tools" - - cd "${srcdir}/${pkgbase}-${pkgver}dsf" - make ROOT="${pkgdir}" install - - # provided by util-linux - cd "${pkgdir}" - rm bin/mountpoint - rm usr/share/man/man1/mountpoint.1 - rm usr/bin/{mesg,utmpdump,wall} - rm usr/share/man/man1/{mesg,utmpdump,wall}.1 - rm sbin/sulogin - rm usr/share/man/man8/sulogin.8 - - ### split out sysvinit - rm -rf ${srcdir}/_sysvinit - install -dm755 \ - ${srcdir}/_sysvinit/sbin \ - ${srcdir}/_sysvinit/usr/share/man/man8 - cd ${srcdir}/_sysvinit - mv ${pkgdir}/sbin/{halt,init,poweroff,reboot,runlevel,shutdown,telinit} sbin/ - mv ${pkgdir}/usr/share/man/man5 usr/share/man/ - mv ${pkgdir}/usr/share/man/man8/{halt,init,poweroff,reboot,runlevel,shutdown,telinit}.8 usr/share/man/man8/ -} - -package_sysvinit() { - pkgdesc="Linux System V Init" - depends=('sysvinit-tools') - install=sysvinit.install - - mv "${srcdir}"/_sysvinit/* $pkgdir -} |