From 93079feae1048abe4ebe1ddc66197f31e1206101 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 26 Dec 2012 02:42:49 -0800 Subject: Wed Dec 26 02:41:56 PST 2012 --- community/cgminer/PKGBUILD | 6 +-- community/virtualbox-modules-lts/PKGBUILD | 25 +++++------ community/virtualbox-modules/PKGBUILD | 28 ++++++------- .../PKGBUILD | 4 +- kernels/linux-libre-rt/PKGBUILD | 3 +- kernels/linux-libre-rt/fat-3.6.x.patch | 33 +++++++++++++++ libre/cdfs-libre/PKGBUILD | 4 +- libre/linux-libre-api-headers/PKGBUILD | 4 +- libre/linux-libre-firmware/PKGBUILD | 11 ++--- libre/linux-libre-manpages/PKGBUILD | 4 +- libre/linux-libre-tools/PKGBUILD | 10 ++--- libre/linux-libre/PKGBUILD | 2 +- libre/lirc-libre/PKGBUILD | 6 +-- libre/tp_smapi-libre-lts/PKGBUILD | 2 +- libre/tp_smapi-libre/PKGBUILD | 4 +- libre/vhba-module-libre/PKGBUILD | 2 +- pcr/freeipmi/PKGBUILD | 49 ++++++++++++++++++++++ 17 files changed, 140 insertions(+), 57 deletions(-) create mode 100644 kernels/linux-libre-rt/fat-3.6.x.patch create mode 100644 pcr/freeipmi/PKGBUILD diff --git a/community/cgminer/PKGBUILD b/community/cgminer/PKGBUILD index 7ef232654..378b00845 100644 --- a/community/cgminer/PKGBUILD +++ b/community/cgminer/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 81385 2012-12-19 12:16:09Z fyan $ +# $Id: PKGBUILD 81650 2012-12-26 01:18:51Z fyan $ # Maintainer: Felix Yan # Contributor: monson # Contributor: Thomas Dziedzic < gostrc at gmail > # Contributor: David Manouchehri pkgname=cgminer -pkgver=2.10.2 +pkgver=2.10.3 _build= pkgrel=1 pkgdesc="Multi-threaded multi-pool CPU and GPU miner for bitcoin, forked from cpuminer." @@ -50,7 +50,7 @@ package() { sed 's#/usr/local/bin#/usr/bin#g' example.conf > $pkgname.conf install -Dm644 $pkgname.conf "$pkgdir"/etc/$pkgname.conf } -md5sums=('6c20c0c60a5c4c81b098b30b4874e366' +md5sums=('6c4851d2c86558432477104e9925d23b' 'fe4a243fabe24608f5c05e40f0f118f6' 'ee39698273671fee0e98d4af16014c36' 'bd76fc92fedce18c59ccea2aa79cc664') diff --git a/community/virtualbox-modules-lts/PKGBUILD b/community/virtualbox-modules-lts/PKGBUILD index c6aa0d0fc..c1fcbe5c5 100644 --- a/community/virtualbox-modules-lts/PKGBUILD +++ b/community/virtualbox-modules-lts/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 81591 2012-12-24 16:25:33Z seblu $ +# $Id: PKGBUILD 81642 2012-12-25 14:12:06Z seblu $ # Maintainer: Bartłomiej Piotrowski # Contributor: Ionut Biru # Contributor: Sébastien Luttringer @@ -6,18 +6,19 @@ pkgbase=virtualbox-modules-lts pkgname=('virtualbox-host-modules-lts' 'virtualbox-guest-modules-lts') pkgver=4.2.6 -pkgrel=1 +pkgrel=3 arch=('i686' 'x86_64') url='http://virtualbox.org' license=('GPL') makedepends=('linux-lts-headers' "virtualbox-host-dkms>=$pkgver" "virtualbox-guest-dkms>=$pkgver" - 'expac') + 'expac' + 'bc') build() { - # current kernel version _kernver=$(expac -Q '%v' linux-lts-headers)-lts + # dkms need modification to be run as user cp -r /var/lib/dkms . echo "dkms_tree='$srcdir/dkms'" > dkms.conf @@ -30,16 +31,16 @@ build() { } package_virtualbox-host-modules-lts(){ + _kernver=$(expac -Q '%v' linux-lts-headers)-lts + _extraver=extramodules-${_kernver%.*}-lts + pkgdesc='Host kernel modules for VirtualBox' - depends=('linux-lts>=3.0' 'linux-lts<3.1') + depends=("linux-lts>=${_kernver%.*}" "linux-lts<$(echo "${_kernver%.*}+0.1"|bc)") replaces=('virtualbox-modules-lts') conflicts=('virtualbox-modules-lts') provides=("virtualbox-host-modules=$pkgver") install=virtualbox-host-modules-lts.install - _kernver=$(expac -Q '%v' linux-lts-headers)-lts - _extraver=extramodules-${_kernver%.*}-lts - install -dm755 "$pkgdir/usr/lib/modules/$_extraver" cd "dkms/vboxhost/$pkgver/$_kernver/$CARCH/module" install -m644 * "$pkgdir/usr/lib/modules/$_extraver" @@ -48,17 +49,17 @@ package_virtualbox-host-modules-lts(){ } package_virtualbox-guest-modules-lts(){ + _kernver=$(expac -Q '%v' linux-lts-headers)-lts + _extraver=extramodules-${_kernver%.*}-lts + pkgdesc='Guest kernel modules for VirtualBox' license=('GPL') - depends=('linux-lts>=3.0' 'linux-lts<3.1') + depends=("linux-lts>=${_kernver%.*}" "linux-lts<$(echo "${_kernver%.*}+0.1"|bc)") replaces=('virtualbox-archlinux-modules-lts') conflicts=('virtualbox-archlinux-modules-lts') provides=("virtualbox-host-modules=$pkgver") install=virtualbox-guest-modules-lts.install - _kernver=$(expac -Q '%v' linux-lts-headers)-lts - _extraver=extramodules-${_kernver%.*}-lts - install -dm755 "$pkgdir/usr/lib/modules/$_extraver" cd "dkms/vboxguest/$pkgver/$_kernver/$CARCH/module" install -m644 * "$pkgdir/usr/lib/modules/$_extraver" diff --git a/community/virtualbox-modules/PKGBUILD b/community/virtualbox-modules/PKGBUILD index a3f87ede8..8dd813d13 100644 --- a/community/virtualbox-modules/PKGBUILD +++ b/community/virtualbox-modules/PKGBUILD @@ -1,23 +1,23 @@ -# $Id: PKGBUILD 81593 2012-12-24 16:28:35Z seblu $ +# $Id: PKGBUILD 81643 2012-12-25 14:12:31Z seblu $ # Maintainer: Ionut Biru # Maintainer: Sébastien Luttringer pkgbase=virtualbox-modules pkgname=('virtualbox-host-modules' 'virtualbox-guest-modules') pkgver=4.2.6 -pkgrel=1 +pkgrel=3 arch=('i686' 'x86_64') url='http://virtualbox.org' license=('GPL') makedepends=('linux-headers' "virtualbox-host-dkms>=$pkgver" "virtualbox-guest-dkms>=$pkgver" - 'expac') + 'expac' + 'bc') build() { - # current kernel version - _kernver=3.7.0-1-ARCH _kernver=$(expac -Q '%v' linux-headers)-ARCH + # dkms need modification to be run as user cp -r /var/lib/dkms . echo "dkms_tree='$srcdir/dkms'" > dkms.conf @@ -30,16 +30,15 @@ build() { } package_virtualbox-host-modules(){ + _kernver=$(expac -Q '%v' linux-headers)-ARCH + _extraver=extramodules-${_kernver%.*}-ARCH + pkgdesc='Host kernel modules for VirtualBox' - depends=('linux>=3.7' 'linux<3.8') + depends=("linux>=${_kernver%.*}" "linux<$(echo "${_kernver%.*}+0.1"|bc)") replaces=('virtualbox-modules') conflicts=('virtualbox-modules') install=virtualbox-host-modules.install - _kernver=3.7.0-1-ARCH - _kernver=$(expac -Q '%v' linux-headers)-ARCH - _extraver=extramodules-${_kernver%.*}-ARCH - install -dm755 "$pkgdir/usr/lib/modules/$_extraver" cd "dkms/vboxhost/$pkgver/$_kernver/$CARCH/module" install -m644 * "$pkgdir/usr/lib/modules/$_extraver" @@ -48,17 +47,16 @@ package_virtualbox-host-modules(){ } package_virtualbox-guest-modules(){ + _kernver=$(expac -Q '%v' linux-headers)-ARCH + _extraver=extramodules-${_kernver%.*}-ARCH + pkgdesc='Guest kernel modules for VirtualBox' license=('GPL') - depends=('linux>=3.7' 'linux<3.8') + depends=("linux>=${_kernver%.*}" "linux<$(echo "${_kernver%.*}+0.1"|bc)") replaces=('virtualbox-archlinux-modules') conflicts=('virtualbox-archlinux-modules') install=virtualbox-guest-modules.install - _kernver=3.7.0-1-ARCH - _kernver=$(expac -Q '%v' linux-headers)-ARCH - _extraver=extramodules-${_kernver%.*}-ARCH - install -dm755 "$pkgdir/usr/lib/modules/$_extraver" cd "dkms/vboxguest/$pkgver/$_kernver/$CARCH/module" install -m644 * "$pkgdir/usr/lib/modules/$_extraver" diff --git a/cross/mips64el-unknown-linux-gnu-linux-libre-api-headers/PKGBUILD b/cross/mips64el-unknown-linux-gnu-linux-libre-api-headers/PKGBUILD index 1fd008d4c..91116a193 100644 --- a/cross/mips64el-unknown-linux-gnu-linux-libre-api-headers/PKGBUILD +++ b/cross/mips64el-unknown-linux-gnu-linux-libre-api-headers/PKGBUILD @@ -11,8 +11,8 @@ pkgname=${_target}-linux-libre-api-headers _basekernel=3.5 _sublevel=1 pkgver=${_basekernel}.${_sublevel} -pkgrel=1 -pkgdesc="Kernel libre headers sanitized for use in userspace" +pkgrel=1.1 +pkgdesc="Kernel headers sanitized for use in userspace (built from linux-libre source)" arch=('i686' 'x86_64') url="http://www.gnu.org/software/libc" license=('GPL2') diff --git a/kernels/linux-libre-rt/PKGBUILD b/kernels/linux-libre-rt/PKGBUILD index a30ceece0..ed61b0c86 100644 --- a/kernels/linux-libre-rt/PKGBUILD +++ b/kernels/linux-libre-rt/PKGBUILD @@ -39,7 +39,7 @@ source=("http://linux-libre.fsfla.org/pub/linux-libre/releases/${_basekernel}-gn 'fat-3.6.x.patch' "http://www.linux-libre.fsfla.org/pub/linux-libre/lemote/gnewsense/pool/debuginfo/linux-patches-${_lxopkgver}-gnu_0loongsonlibre_mipsel.tar.bz2") md5sums=('a2312edd0265b5b07bd4b50afae2b380' - 'bd4bba74093405887d521309a74c19e9' + 'ced16b674906cf8c3733c012f804f5c7' '0be405891c7fb02b0026d4143f2207da' '11161582d9050710ccfecbe077fc5a63' 'ac8f20b0cd83acb9525b5557e1fafeaf' @@ -51,6 +51,7 @@ md5sums=('a2312edd0265b5b07bd4b50afae2b380' '670931649c60fcb3ef2e0119ed532bd4' '8a71abc4224f575008f974a099b5cf6f' '4909a0271af4e5f373136b382826717f' + '88d501404f172dac6fcb248978251560' 'c188074cdc350ac7cf4e9c8d14c0575e') if [ "$CARCH" != "mips64el" ]; then # Don't use the Loongson-specific patches on non-mips64el arches. diff --git a/kernels/linux-libre-rt/fat-3.6.x.patch b/kernels/linux-libre-rt/fat-3.6.x.patch new file mode 100644 index 000000000..d8deeb788 --- /dev/null +++ b/kernels/linux-libre-rt/fat-3.6.x.patch @@ -0,0 +1,33 @@ +From: Dave Reisner +Date: Thu, 29 Nov 2012 03:18:52 +0000 (+1100) +Subject: fs/fat: strip "cp" prefix from codepage in display +X-Git-Tag: next-20121130~1^2~97 +X-Git-Url: http://git.kernel.org/?p=linux%2Fkernel%2Fgit%2Fnext%2Flinux-next.git;a=commitdiff_plain;h=f15914873184cc3f2a8d590fa4f7e32ab0a8a405 + +fs/fat: strip "cp" prefix from codepage in display + +Option parsing code expects an unsigned integer for the codepage option, +but prefixes and stores this option with "cp" before passing to +load_nls(). This makes the displayed option in /proc an invalid one. +Strip the prefix when printing so that the displayed option is valid for +reuse. + +Signed-off-by: Dave Reisner +Acked-by: OGAWA Hirofumi +Signed-off-by: Andrew Morton +--- + +diff --git a/fs/fat/inode.c b/fs/fat/inode.c +index 3b733a7..3580681 100644 +--- a/fs/fat/inode.c ++++ b/fs/fat/inode.c +@@ -726,7 +726,8 @@ static int fat_show_options(struct seq_file *m, struct dentry *root) + if (opts->allow_utime) + seq_printf(m, ",allow_utime=%04o", opts->allow_utime); + if (sbi->nls_disk) +- seq_printf(m, ",codepage=%s", sbi->nls_disk->charset); ++ /* strip "cp" prefix from displayed option */ ++ seq_printf(m, ",codepage=%s", &sbi->nls_disk->charset[2]); + if (isvfat) { + if (sbi->nls_io) + seq_printf(m, ",iocharset=%s", sbi->nls_io->charset); diff --git a/libre/cdfs-libre/PKGBUILD b/libre/cdfs-libre/PKGBUILD index 306a9ec0c..0b5c20196 100644 --- a/libre/cdfs-libre/PKGBUILD +++ b/libre/cdfs-libre/PKGBUILD @@ -6,8 +6,8 @@ _pkgname=cdfs pkgname=cdfs-libre pkgver=2.6.27 -pkgrel=34 -pkgdesc="File system module libre that 'exports' all tracks and boot images on a CD as normal files." +pkgrel=34.1 +pkgdesc="File system module that 'exports' all tracks and boot images on a CD as normal files. (adapted to linux-libre kernel)" arch=(i686 x86_64) url="http://www.elis.UGent.be/~ronsse/cdfs/" license=('GPL') diff --git a/libre/linux-libre-api-headers/PKGBUILD b/libre/linux-libre-api-headers/PKGBUILD index c420c2070..0f7128226 100644 --- a/libre/linux-libre-api-headers/PKGBUILD +++ b/libre/linux-libre-api-headers/PKGBUILD @@ -8,8 +8,8 @@ pkgname=linux-libre-api-headers _basekernel=3.6 _sublevel=3 pkgver=${_basekernel}.${_sublevel} -pkgrel=1 -pkgdesc="Kernel libre headers sanitized for use in userspace" +pkgrel=1.1 +pkgdesc="Kernel headers sanitized for use in userspace (built from linux-libre source)" arch=('i686' 'x86_64' 'mips64el') url="http://www.gnu.org/software/libc" license=('GPL2') diff --git a/libre/linux-libre-firmware/PKGBUILD b/libre/linux-libre-firmware/PKGBUILD index 52fcbd887..e6461610b 100644 --- a/libre/linux-libre-firmware/PKGBUILD +++ b/libre/linux-libre-firmware/PKGBUILD @@ -1,10 +1,11 @@ # Maintainer: André Silva # Contributor: Márcio Silva +_pkgname=linux-firmware pkgname=linux-libre-firmware pkgver=3.7 -pkgrel=1 -pkgdesc='Free firmware files for Linux-libre' +pkgrel=2 +pkgdesc='Free firmware files for Linux (built from linux-libre source)' arch=('any') url='http://linux-libre.fsfla.org/' license=('GPL2') @@ -43,7 +44,7 @@ package() { make INSTALL_FW_PATH=$pkgdir/usr/lib/firmware firmware_install - # move WHENCE file to linux-libre-firmware license folder - install -d -m755 $pkgdir/usr/share/licenses/$pkgname - mv firmware/WHENCE $pkgdir/usr/share/licenses/$pkgname + # move WHENCE file to linux-firmware license folder + install -d -m755 $pkgdir/usr/share/licenses/$_pkgname + mv firmware/WHENCE $pkgdir/usr/share/licenses/$_pkgname } diff --git a/libre/linux-libre-manpages/PKGBUILD b/libre/linux-libre-manpages/PKGBUILD index e6cc4238c..92f3778ca 100644 --- a/libre/linux-libre-manpages/PKGBUILD +++ b/libre/linux-libre-manpages/PKGBUILD @@ -5,8 +5,8 @@ pkgname=linux-libre-manpages pkgver=3.1 -pkgrel=1.2 -pkgdesc="Kernel libre hackers manual - Section 9 manpages that comes with the linux-libre kernel" +pkgrel=1.3 +pkgdesc="Kernel hackers manual - Section 9 manpages that comes with the linux-libre kernel" arch=('any') url="http://linux-libre.fsfla.org/" license=('GPL2') diff --git a/libre/linux-libre-tools/PKGBUILD b/libre/linux-libre-tools/PKGBUILD index 1fe61100d..fd3c6f8a6 100644 --- a/libre/linux-libre-tools/PKGBUILD +++ b/libre/linux-libre-tools/PKGBUILD @@ -88,7 +88,7 @@ build() { } package_libtraceevent-libre() { - pkgdesc='Linux-libre kernel trace event library' + pkgdesc='Linux kernel trace event library (built from linux-libre source)' depends=('glibc') replaces=('libtraceevent') conflicts=('libtraceevent') @@ -100,7 +100,7 @@ package_libtraceevent-libre() { } package_perf-libre() { - pkgdesc='Linux-libre kernel performance auditing tool' + pkgdesc='Linux kernel performance auditing tool (built from linux-libre source)' depends=('perl' 'python2' 'libnewt' 'elfutils' 'audit' 'libunwind') replaces=('perf') conflicts=('perf') @@ -118,7 +118,7 @@ package_perf-libre() { } package_cpupower-libre() { - pkgdesc='Linux-libre kernel tool to examine and tune power saving related features of your processor' + pkgdesc='Linux kernel tool to examine and tune power saving related features of your processor (built from linux-libre source)' backup=('etc/conf.d/cpupower') depends=('bash' 'pciutils') replaces=('cpupower' 'cpufrequtils') @@ -140,7 +140,7 @@ package_cpupower-libre() { } package_x86_energy_perf_policy-libre() { - pkgdesc='Read or write MSR_IA32_ENERGY_PERF_BIAS' + pkgdesc='Read or write MSR_IA32_ENERGY_PERF_BIAS (built from linux-libre source)' depends=('glibc') replaces=('x86_energy_perf_policy') conflicts=('x86_energy_perf_policy') @@ -152,7 +152,7 @@ package_x86_energy_perf_policy-libre() { } package_usbip-libre() { - pkgdesc='An USB device sharing system over IP network' + pkgdesc='An USB device sharing system over IP network (built from linux-libre source)' depends=('glib2' 'sysfsutils') options=('!libtool') replaces=('usbip') diff --git a/libre/linux-libre/PKGBUILD b/libre/linux-libre/PKGBUILD index 26c18da17..90a739e17 100644 --- a/libre/linux-libre/PKGBUILD +++ b/libre/linux-libre/PKGBUILD @@ -390,7 +390,7 @@ _package-headers() { } _package-docs() { - pkgdesc="Kernel libre hackers manual - HTML documentation that comes with the ${pkgbase} kernel" + pkgdesc="Kernel hackers manual - HTML documentation that comes with the ${pkgbase} kernel" provides=("kernel26${_kernelname}-docs=${pkgver}" "linux${_kernelname}-docs=${pkgver}") conflicts=("kernel26${_kernelname}-docs" "kernel26-libre${_kernelname}-docs" "linux${_kernelname}-docs") replaces=("kernel26${_kernelname}-docs" "kernel26-libre${_kernelname}-docs" "linux${_kernelname}-docs") diff --git a/libre/lirc-libre/PKGBUILD b/libre/lirc-libre/PKGBUILD index c8cd92d40..d6bf55f57 100644 --- a/libre/lirc-libre/PKGBUILD +++ b/libre/lirc-libre/PKGBUILD @@ -6,7 +6,7 @@ _pkgbase=lirc pkgbase=lirc-libre pkgname=('lirc-libre' 'lirc-utils-libre') pkgver=0.9.0 -pkgrel=35 +pkgrel=35.1 epoch=1 _extramodules=extramodules-3.7-LIBRE arch=('i686' 'x86_64' 'mips64el') @@ -55,7 +55,7 @@ build() { } package_lirc-libre() { - pkgdesc="Linux-libre Infrared Remote Control kernel modules for stock kernel libre" + pkgdesc="Linux Infrared Remote Control kernel modules for stock kernel (adapted to linux-libre kernel) " depends=('lirc-utils-libre' 'linux-libre>=3.7' 'linux-libre<3.8') replaces=('lirc' 'lirc+pctv') conflicts=('lirc') @@ -72,7 +72,7 @@ package_lirc-libre() { } package_lirc-utils-libre() { - pkgdesc="Linux-libre Infrared Remote Control utils" + pkgdesc="Linux Infrared Remote Control utils (adapted to linux-libre kernel)" depends=('alsa-lib' 'libx11' 'libftdi' 'libirman') optdepends=('python2: pronto2lirc utility') options=('strip' '!libtool') diff --git a/libre/tp_smapi-libre-lts/PKGBUILD b/libre/tp_smapi-libre-lts/PKGBUILD index 01502f813..d3228b177 100644 --- a/libre/tp_smapi-libre-lts/PKGBUILD +++ b/libre/tp_smapi-libre-lts/PKGBUILD @@ -13,7 +13,7 @@ _pkgname=tp_smapi _extramodules=/usr/lib/modules/extramodules-3.0-LIBRE-LTS pkgver=0.41 pkgrel=9.3 -pkgdesc="linux-libre-lts modules for ThinkPad's SMAPI functionality" +pkgdesc="Modules for ThinkPad's SMAPI functionality (adapted to linux-libre-lts kernel)" arch=('i686' 'x86_64') url='https://github.com/evgeni/tp_smapi' license=('GPL') diff --git a/libre/tp_smapi-libre/PKGBUILD b/libre/tp_smapi-libre/PKGBUILD index 37a7c1ad9..11b515683 100644 --- a/libre/tp_smapi-libre/PKGBUILD +++ b/libre/tp_smapi-libre/PKGBUILD @@ -11,8 +11,8 @@ _pkgname=tp_smapi pkgname=tp_smapi-libre pkgver=0.41 -pkgrel=12 -pkgdesc="Modules for ThinkPad's SMAPI functionality" +pkgrel=12.1 +pkgdesc="Modules for ThinkPad's SMAPI functionality (adapted to linux-libre kernel)" arch=('i686' 'x86_64') url='https://github.com/evgeni/tp_smapi' license=('GPL') diff --git a/libre/vhba-module-libre/PKGBUILD b/libre/vhba-module-libre/PKGBUILD index 962087b82..d2c69701b 100644 --- a/libre/vhba-module-libre/PKGBUILD +++ b/libre/vhba-module-libre/PKGBUILD @@ -9,7 +9,7 @@ pkgname=vhba-module-libre pkgver=20120422 _extramodules=extramodules-3.7-LIBRE pkgrel=15 -pkgdesc="Kernel libre module that emulates SCSI devices" +pkgdesc="Kernel module that emulates SCSI devices (adapted to linux-libre kernel)" arch=('i686' 'x86_64') url="http://cdemu.sourceforge.net/" license=('GPL') diff --git a/pcr/freeipmi/PKGBUILD b/pcr/freeipmi/PKGBUILD new file mode 100644 index 000000000..ff321ea02 --- /dev/null +++ b/pcr/freeipmi/PKGBUILD @@ -0,0 +1,49 @@ +# http://github.com/fukawi2/aur-packages +# Contributor: Nathan Owe +# Contributor: Phillip Smith +# Maintainer : Parabola GNU / Linux-libre Aurélien Desbrières + +pkgname=freeipmi +pkgver=1.2.3 +pkgrel=1 +pkgdesc="sensor monitoring, system event monitoring, power control, and serial-over-LAN (SOL)" +arch=('i686' 'x86_64') +url="http://www.gnu.org/software/freeipmi/" +license=('GPL') +depends=('libgcrypt') +options=('!libtool') +source=("http://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz") + +build() { + cd $srcdir/$pkgname-$pkgver + + ./configure \ + --prefix=/usr \ + --mandir=/usr/share/man \ + --sysconfdir=/etc \ + --localstatedir=/var/lib \ + --infodir=/usr/share/info + + make +} + +package() { + cd $srcdir/$pkgname-$pkgver + + make DESTDIR=$pkgdir/ install + + # Move init scripts and config to Arch paths + mv $pkgdir/etc/init.d $pkgdir/etc/rc.d + mv $pkgdir/etc/sysconfig $pkgdir/etc/conf.d + + # Fix references to 'init.d' and 'sysconfig' + sed -e 's|/etc/init.d/|/etc/rc.d/|g' \ + -e 's|/etc/rc.d/init.d/functions|/etc/rc.d/functions|g' \ + -i $pkgdir/etc/rc.d/* + sed -e 's|CONFFILE=/etc/sysconfig/bmc-watchdog|CONFFILE=/etc/cond.f/bmc-watchdog|g' \ + -i $pkgdir/etc/rc.d/bmc-watchdog + + rm -Rf $pkgdir/usr/share/info/dir +} + +# vim:set ts=2 sw=2 et: -- cgit v1.2.3-54-g00ecf