summaryrefslogtreecommitdiff
path: root/community/mcelog/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-11 01:21:34 -0700
committerroot <root@rshg054.dnsready.net>2013-08-11 01:21:34 -0700
commit18a41d682d6e91e0d28fce23eb75292f477bd620 (patch)
treebce8f660d7d0b6541cadbc49bf1bac2434e4c0c6 /community/mcelog/PKGBUILD
parent0ade1da67addf154d93c6a6399b0a3d5a18a3336 (diff)
Sun Aug 11 01:21:31 PDT 2013
Diffstat (limited to 'community/mcelog/PKGBUILD')
-rw-r--r--community/mcelog/PKGBUILD39
1 files changed, 0 insertions, 39 deletions
diff --git a/community/mcelog/PKGBUILD b/community/mcelog/PKGBUILD
deleted file mode 100644
index 2fd31c1c6..000000000
--- a/community/mcelog/PKGBUILD
+++ /dev/null
@@ -1,39 +0,0 @@
-# $Id: PKGBUILD 93664 2013-07-08 11:18:34Z spupykin $
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Contributor: Thomas Mudrunka <harvie@@email..cz>
-# Maintainer: Thomas Mudrunka <harvie@@email..cz>
-
-pkgname=mcelog
-pkgver=20130708
-pkgrel=1
-pkgdesc="Print machine check event log from x86-64 kernel"
-url="http://freshmeat.net/projects/mcelog/"
-license=("GPL")
-arch=('i686' 'x86_64')
-makedepends=('git')
-options=('docs')
-backup=('etc/mcelog/mcelog.conf')
-source=("git://github.com/andikleen/mcelog.git"
- "mcelog.service")
-md5sums=('SKIP'
- 'afd7fc2b7a2f92a75e040b23d6b15958')
-
-prepare() {
- cd "${srcdir}/mcelog"
- sed -i 's|sbin|bin|g' Makefile mcelog.cron
-}
-
-build() {
- cd "${srcdir}/mcelog"
- make
-}
-
-package() {
- cd "${srcdir}/mcelog"
- mkdir -p $pkgdir/usr/share/doc/mcelog
- make install prefix=$pkgdir/usr etcprefix=$pkgdir DOCDIR=$pkgdir/usr/share/doc/mcelog
- install -Dm0755 mcelog.cron "${pkgdir}/usr/bin/mcelog.cron"
- install -Dm0644 mcelog.logrotate "${pkgdir}/etc/logrotate.d/mcelog.logrotate"
- install -Dm0644 README "${pkgdir}/usr/share/doc/mcelog/README"
- install -Dm0644 $srcdir/$pkgname.service $pkgdir/usr/lib/systemd/system/$pkgname.service
-}