From 345ebe05f19d719ac4838f5c99665dcee81d7dfc Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 29 Jun 2018 09:52:40 +0200 Subject: core/pcmciautils reintroduced --- core/pcmciautils/PKGBUILD | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 core/pcmciautils/PKGBUILD (limited to 'core/pcmciautils/PKGBUILD') diff --git a/core/pcmciautils/PKGBUILD b/core/pcmciautils/PKGBUILD new file mode 100644 index 00000000..d16f9a7d --- /dev/null +++ b/core/pcmciautils/PKGBUILD @@ -0,0 +1,35 @@ +# $Id$ +# Maintainer: Andreas Baumann +# Contributor: Tom Gundersen +# Contributor: Tobias Powalowski +pkgname=pcmciautils +pkgver=018 +pkgrel=8 +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=(https://kernel.org/pub/linux/utils/kernel/pcmcia/${pkgname}-${pkgver}.tar.{xz,sign} + initcpio-install-pcmcia) +options=(!makeflags) +sha512sums=('69a01cb4d6cefc4bcb31309fafbd76f937dd0599fbd097a5f22d76d3bc4eeddfccd16bddf42d8e079b323bd8eb62f4b0b25e1da3755664bd01cb2ccbf939c7cf' + 'SKIP' + '8e486c7432264bdce6698c3831f89b1473400b99dc5aad70df70b2b01cd4219066595fe3f7bc062c56cc2487ad9d65bb6d27d843e20ebfb03e5479f69a9d5299') +validpgpkeys=('DD46DC35691C79509D15F58CFEF39108F6FD2C20') + +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" +} -- cgit v1.2.3-70-g09d2