blob: 2e99021068ab99a2873a420ac1a79b3fc5da6b89 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# $Id: PKGBUILD 173746 2012-12-22 15:22:21Z tomegun $
# Maintainer: Tom Gundersen <teg@jklm.no>
# Contributor: Tobias Powalowski <tpowa@archlinux.org>
pkgname=pcmciautils
pkgver=018
pkgrel=6
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
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')
|