diff options
author | James Meyer <james.meyer@operamail.com> | 2012-04-22 18:11:22 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2012-04-22 18:11:22 (GMT) |
commit | 28c31eb0c7c8f330cf0add4731b0d4e0d48b28de (patch) | |
tree | a73eac26848c073741810d3f019f714325b4560e /abs/extra/sapphire/PKGBUILD | |
parent | 92076b9f4811900b43b6f177496d5bfd447ebab9 (diff) | |
parent | 3ca705e54de65bc4c8cb852b71a73b0c156a6a5d (diff) | |
download | linhes_pkgbuild-28c31eb0c7c8f330cf0add4731b0d4e0d48b28de.zip linhes_pkgbuild-28c31eb0c7c8f330cf0add4731b0d4e0d48b28de.tar.gz linhes_pkgbuild-28c31eb0c7c8f330cf0add4731b0d4e0d48b28de.tar.bz2 |
Merge branch 'testing' of git@linhes.org:linhes_pkgbuild into testing
Diffstat (limited to 'abs/extra/sapphire/PKGBUILD')
-rw-r--r-- | abs/extra/sapphire/PKGBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/abs/extra/sapphire/PKGBUILD b/abs/extra/sapphire/PKGBUILD new file mode 100644 index 0000000..7877f8f --- /dev/null +++ b/abs/extra/sapphire/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: Cecil Watson<knoppmyth@gmail.com> + +pkgname=sapphire +_kernver=`uname -r` +pkgver=3.2 +pkgrel=2 +pkgdesc="Kernel module for Sapphire remote" +arch=('i686' 'x86_64') +url="http://rtr.ca/sapphire_remote" +license=('GPL2') +depends=('kernel26') +makedepends=('kernel26-headers') +options=(!makeflags) +install=sapphire.install +source=(http://rtr.ca/sapphire_remote/${pkgname}-${pkgver}.tar.gz sapphire.patch) + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + patch -p1 < ../sapphire.patch +} + +package() { + mkdir -p ${pkgdir}/etc/modprobe.d + mkdir -p ${pkgdir}/usr/bin + mkdir -p ${pkgdir}/usr/share/doc/sapphire + cd "${srcdir}/${pkgname}-${pkgver}" + make INSTALL_MOD_PATH=${pkgdir} DESTDIR="${pkgdir}" install + install -m 755 sapphire_keymap.sh ${pkgdir}/usr/bin + install -m 644 README.txt ${pkgdir}/usr/share/doc/sapphire + install -m 644 keymap.default ${pkgdir}/usr/share/doc/sapphire + install -m 644 sapphire.c ${pkgdir}/usr/share/doc/sapphire + rm -fr ${pkgdir}/lib/modules/$_kernver/modules* +} +md5sums=('7379b9dd3283871234cbfb0f61516eae' + 'db733f5dd3697895062027d7a58a6657') |