[arch-commits] Commit in ruby-pcaprub/repos (4 files)
Bartłomiej Piotrowski
bpiotrowski at archlinux.org
Mon Jan 9 17:50:37 UTC 2017
Date: Monday, January 9, 2017 @ 17:50:36
Author: bpiotrowski
Revision: 206170
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
ruby-pcaprub/repos/community-staging-i686/
ruby-pcaprub/repos/community-staging-i686/PKGBUILD
(from rev 206169, ruby-pcaprub/trunk/PKGBUILD)
ruby-pcaprub/repos/community-staging-x86_64/
ruby-pcaprub/repos/community-staging-x86_64/PKGBUILD
(from rev 206169, ruby-pcaprub/trunk/PKGBUILD)
-----------------------------------+
community-staging-i686/PKGBUILD | 27 +++++++++++++++++++++++++++
community-staging-x86_64/PKGBUILD | 27 +++++++++++++++++++++++++++
2 files changed, 54 insertions(+)
Copied: ruby-pcaprub/repos/community-staging-i686/PKGBUILD (from rev 206169, ruby-pcaprub/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2017-01-09 17:50:36 UTC (rev 206170)
@@ -0,0 +1,27 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+_gemname=pcaprub
+pkgname=ruby-${_gemname}
+pkgver=0.12.4
+pkgrel=3
+pkgdesc='Consistent interface to libpcap packet capture library'
+url='https://github.com/pcaprub/pcaprub'
+arch=('i686' 'x86_64')
+license=('LGPL2.1')
+depends=('ruby' 'libpcap')
+options=('!emptydirs')
+source=(https://rubygems.org/downloads/${_gemname}-${pkgver}.gem)
+noextract=(${_gemname}-${pkgver}.gem)
+sha512sums=('707221429dcdf95eba24076589054dd022ba8a479148c3ec8ce9667016225ee64bed13d3fdf8ebd46027244feec8e77a484c67f040d0439bfa44d9212997645b')
+
+package() {
+ local _gemdir="$(gem env gemdir)"
+ gem install --ignore-dependencies --no-user-install -i "${pkgdir}${_gemdir}" -n "${pkgdir}/usr/bin" ${_gemname}-${pkgver}.gem
+ install -Dm 644 "${pkgdir}${_gemdir}/gems/${_gemname}-${pkgver}/"{USAGE.rdoc,README.rdoc,FAQ.rdoc} \
+ -t "${pkgdir}/usr/share/doc/${pkgname}"
+ ln -s "${_gemdir}/gems/${_gemname}-${pkgver}/examples" "${pkgdir}/usr/share/doc/${pkgname}"
+ find "${pkgdir}" \( -name gem_make.out -o -name mkmf.log \) -delete
+ rm "${pkgdir}/${_gemdir}/cache/${_gemname}-${pkgver}.gem"
+}
+
+# vim: ts=2 sw=2 et:
Copied: ruby-pcaprub/repos/community-staging-x86_64/PKGBUILD (from rev 206169, ruby-pcaprub/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2017-01-09 17:50:36 UTC (rev 206170)
@@ -0,0 +1,27 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+_gemname=pcaprub
+pkgname=ruby-${_gemname}
+pkgver=0.12.4
+pkgrel=3
+pkgdesc='Consistent interface to libpcap packet capture library'
+url='https://github.com/pcaprub/pcaprub'
+arch=('i686' 'x86_64')
+license=('LGPL2.1')
+depends=('ruby' 'libpcap')
+options=('!emptydirs')
+source=(https://rubygems.org/downloads/${_gemname}-${pkgver}.gem)
+noextract=(${_gemname}-${pkgver}.gem)
+sha512sums=('707221429dcdf95eba24076589054dd022ba8a479148c3ec8ce9667016225ee64bed13d3fdf8ebd46027244feec8e77a484c67f040d0439bfa44d9212997645b')
+
+package() {
+ local _gemdir="$(gem env gemdir)"
+ gem install --ignore-dependencies --no-user-install -i "${pkgdir}${_gemdir}" -n "${pkgdir}/usr/bin" ${_gemname}-${pkgver}.gem
+ install -Dm 644 "${pkgdir}${_gemdir}/gems/${_gemname}-${pkgver}/"{USAGE.rdoc,README.rdoc,FAQ.rdoc} \
+ -t "${pkgdir}/usr/share/doc/${pkgname}"
+ ln -s "${_gemdir}/gems/${_gemname}-${pkgver}/examples" "${pkgdir}/usr/share/doc/${pkgname}"
+ find "${pkgdir}" \( -name gem_make.out -o -name mkmf.log \) -delete
+ rm "${pkgdir}/${_gemdir}/cache/${_gemname}-${pkgver}.gem"
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list