[arch-commits] CVS update of unstable/system/lirc-mm (PKGBUILD lirc.install)
Tom Killian
tom at archlinux.org
Mon May 28 10:47:30 UTC 2007
Date: Monday, May 28, 2007 @ 06:47:30
Author: tom
Path: /home/cvs-unstable/unstable/system/lirc-mm
Added: lirc.install (1.1)
Modified: PKGBUILD (1.1 -> 1.2)
upgpkg: lirc-mm 0.8.1-2
--------------+
PKGBUILD | 12 ++++++------
lirc.install | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 56 insertions(+), 6 deletions(-)
Index: unstable/system/lirc-mm/PKGBUILD
diff -u unstable/system/lirc-mm/PKGBUILD:1.1 unstable/system/lirc-mm/PKGBUILD:1.2
--- unstable/system/lirc-mm/PKGBUILD:1.1 Mon May 28 06:24:06 2007
+++ unstable/system/lirc-mm/PKGBUILD Mon May 28 06:47:30 2007
@@ -1,13 +1,13 @@
-# $Id: PKGBUILD,v 1.1 2007/05/28 10:24:06 tom Exp $
+# $Id: PKGBUILD,v 1.2 2007/05/28 10:47:30 tom Exp $
# Maintainer: Paul Mattal <paul at archlinux.org>
-pkgname=lirc-ck
+pkgname=lirc-mm
pkgver=0.8.1
-pkgrel=3
-_kernver=2.6.21-ck
-pkgdesc="Linux Infrared Remote Control kernel modules for kernel26ck."
+pkgrel=2
+_kernver=2.6.22-mm
+pkgdesc="Linux Infrared Remote Control kernel modules for kernel26mm."
arch=(i686 x86_64)
-depends=('lirc-utils' 'kernel26ck')
+depends=('lirc-utils' 'kernel26mm')
makedepends=(help2man)
source=(http://umn.dl.sf.net/sourceforge/lirc/lirc-$pkgver.tar.bz2 kernel-2.6.20.patch)
url="http://www.lirc.org/"
Index: unstable/system/lirc-mm/lirc.install
diff -u /dev/null unstable/system/lirc-mm/lirc.install:1.1
--- /dev/null Mon May 28 06:47:30 2007
+++ unstable/system/lirc-mm/lirc.install Mon May 28 06:47:30 2007
@@ -0,0 +1,50 @@
+# This is a default template for a post-install scriptlet. You can
+# remove any functions you don't need (and this header).
+
+# arg 1: the new package version
+pre_install() {
+ /bin/true
+}
+
+# arg 1: the new package version
+post_install() {
+ # updating module dependencies
+ echo ">>> Updating module dependencies. Please wait ..."
+ KERNEL_VERSION=2.6.22-mm
+ depmod -v $KERNEL_VERSION > /dev/null 2>&1
+ /bin/true
+}
+
+# arg 1: the new package version
+# arg 2: the old package version
+pre_upgrade() {
+ /bin/true
+}
+
+# arg 1: the new package version
+# arg 2: the old package version
+post_upgrade() {
+ # updating module dependencies
+ echo ">>> Updating module dependencies. Please wait ..."
+ KERNEL_VERSION=2.6.22-mm
+ depmod -v $KERNEL_VERSION > /dev/null 2>&1
+ /bin/true
+}
+
+# arg 1: the old package version
+pre_remove() {
+ /bin/true
+}
+
+# arg 1: the old package version
+post_remove() {
+ # updating module dependencies
+ echo ">>> Updating module dependencies. Please wait ..."
+ KERNEL_VERSION=2.6.22-mm
+ depmod -v $KERNEL_VERSION > /dev/null 2>&1
+ /bin/true
+}
+
+op=$1
+shift
+$op $*
More information about the arch-commits
mailing list