[arch-commits] Commit in pcmciautils/repos (6 files)

Tom Gundersen tomegun at nymeria.archlinux.org
Mon May 13 12:22:58 UTC 2013


    Date: Monday, May 13, 2013 @ 14:22:58
  Author: tomegun
Revision: 185332

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  pcmciautils/repos/testing-i686/
  pcmciautils/repos/testing-i686/PKGBUILD
    (from rev 185331, pcmciautils/trunk/PKGBUILD)
  pcmciautils/repos/testing-i686/initcpio-install-pcmcia
    (from rev 185331, pcmciautils/trunk/initcpio-install-pcmcia)
  pcmciautils/repos/testing-x86_64/
  pcmciautils/repos/testing-x86_64/PKGBUILD
    (from rev 185331, pcmciautils/trunk/PKGBUILD)
  pcmciautils/repos/testing-x86_64/initcpio-install-pcmcia
    (from rev 185331, pcmciautils/trunk/initcpio-install-pcmcia)

----------------------------------------+
 testing-i686/PKGBUILD                  |   33 +++++++++++++++++++++++++++++++
 testing-i686/initcpio-install-pcmcia   |   22 ++++++++++++++++++++
 testing-x86_64/PKGBUILD                |   33 +++++++++++++++++++++++++++++++
 testing-x86_64/initcpio-install-pcmcia |   22 ++++++++++++++++++++
 4 files changed, 110 insertions(+)

Copied: pcmciautils/repos/testing-i686/PKGBUILD (from rev 185331, pcmciautils/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2013-05-13 12:22:58 UTC (rev 185332)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Tom Gundersen <teg at jklm.no>
+# Contributor: Tobias Powalowski <tpowa at archlinux.org>
+pkgname=pcmciautils
+pkgver=018
+pkgrel=7
+pkgdesc="Utilities for inserting and removing PCMCIA cards"
+arch=('i686' 'x86_64')
+url="http://kernel.org/pub/linux/utils/kernel/pcmcia/pcmcia.html"
+license=('GPL')
+groups=('base')
+depends=('systemd')
+conflicts=('pcmcia-cs')
+# source=(http://kernel.org/pub/linux/utils/kernel/pcmcia/${pkgname}-${pkgver}.tar.bz2) broken due to breakin
+source=(ftp://ftp.archlinux.org/other/$pkgname/$pkgname-$pkgver.tar.xz
+        initcpio-install-pcmcia)
+options=(!makeflags)
+
+build() {
+  cd "$pkgname-$pkgver"
+  sed -i -e 's,/lib/udev,/usr/lib/udev,g' Makefile
+  sed -i -e 's,/sbin,/usr/bin,g' Makefile
+  make
+}
+
+package() {
+  make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install
+
+  # install the mkinitpcio hook
+  install -Dm644 initcpio-install-pcmcia "$pkgdir/usr/lib/initcpio/install/pcmcia"
+}
+md5sums=('2e9469c44dcb790d2b497723c2fa0566'
+         '041af04025daee5b3b05812ac3896c8f')

Copied: pcmciautils/repos/testing-i686/initcpio-install-pcmcia (from rev 185331, pcmciautils/trunk/initcpio-install-pcmcia)
===================================================================
--- testing-i686/initcpio-install-pcmcia	                        (rev 0)
+++ testing-i686/initcpio-install-pcmcia	2013-05-13 12:22:58 UTC (rev 185332)
@@ -0,0 +1,22 @@
+#!/bin/bash
+
+build() {
+    if add_checked_modules -f 'sound|net' '/drivers/pcmcia/'; then
+        add_module 'sd_mod?'
+    fi
+
+    add_binary "/usr/lib/udev/pcmcia-socket-startup"
+    add_binary "/usr/lib/udev/pcmcia-check-broken-cis"
+    add_file "/usr/lib/udev/rules.d/60-pcmcia.rules"
+    add_file "/etc/pcmcia/config.opts"
+}
+
+help() {
+    cat <<HELPEOF
+This hook loads the necessary modules for a pcmcia root device.  Detection will
+take place at runtime. To minimize the modules in the image, add the autodetect
+hook too.
+HELPEOF
+}
+
+# vim: set ft=sh ts=4 sw=4 et:

Copied: pcmciautils/repos/testing-x86_64/PKGBUILD (from rev 185331, pcmciautils/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2013-05-13 12:22:58 UTC (rev 185332)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Tom Gundersen <teg at jklm.no>
+# Contributor: Tobias Powalowski <tpowa at archlinux.org>
+pkgname=pcmciautils
+pkgver=018
+pkgrel=7
+pkgdesc="Utilities for inserting and removing PCMCIA cards"
+arch=('i686' 'x86_64')
+url="http://kernel.org/pub/linux/utils/kernel/pcmcia/pcmcia.html"
+license=('GPL')
+groups=('base')
+depends=('systemd')
+conflicts=('pcmcia-cs')
+# source=(http://kernel.org/pub/linux/utils/kernel/pcmcia/${pkgname}-${pkgver}.tar.bz2) broken due to breakin
+source=(ftp://ftp.archlinux.org/other/$pkgname/$pkgname-$pkgver.tar.xz
+        initcpio-install-pcmcia)
+options=(!makeflags)
+
+build() {
+  cd "$pkgname-$pkgver"
+  sed -i -e 's,/lib/udev,/usr/lib/udev,g' Makefile
+  sed -i -e 's,/sbin,/usr/bin,g' Makefile
+  make
+}
+
+package() {
+  make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install
+
+  # install the mkinitpcio hook
+  install -Dm644 initcpio-install-pcmcia "$pkgdir/usr/lib/initcpio/install/pcmcia"
+}
+md5sums=('2e9469c44dcb790d2b497723c2fa0566'
+         '041af04025daee5b3b05812ac3896c8f')

Copied: pcmciautils/repos/testing-x86_64/initcpio-install-pcmcia (from rev 185331, pcmciautils/trunk/initcpio-install-pcmcia)
===================================================================
--- testing-x86_64/initcpio-install-pcmcia	                        (rev 0)
+++ testing-x86_64/initcpio-install-pcmcia	2013-05-13 12:22:58 UTC (rev 185332)
@@ -0,0 +1,22 @@
+#!/bin/bash
+
+build() {
+    if add_checked_modules -f 'sound|net' '/drivers/pcmcia/'; then
+        add_module 'sd_mod?'
+    fi
+
+    add_binary "/usr/lib/udev/pcmcia-socket-startup"
+    add_binary "/usr/lib/udev/pcmcia-check-broken-cis"
+    add_file "/usr/lib/udev/rules.d/60-pcmcia.rules"
+    add_file "/etc/pcmcia/config.opts"
+}
+
+help() {
+    cat <<HELPEOF
+This hook loads the necessary modules for a pcmcia root device.  Detection will
+take place at runtime. To minimize the modules in the image, add the autodetect
+hook too.
+HELPEOF
+}
+
+# vim: set ft=sh ts=4 sw=4 et:




More information about the arch-commits mailing list