[arch-commits] Commit in ruby-mail-gpg/repos/community-any (PKGBUILD PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Sat Apr 7 16:06:26 UTC 2018
Date: Saturday, April 7, 2018 @ 16:06:23
Author: anthraxx
Revision: 314871
archrelease: copy trunk to community-any
Added:
ruby-mail-gpg/repos/community-any/PKGBUILD
(from rev 314870, ruby-mail-gpg/trunk/PKGBUILD)
Deleted:
ruby-mail-gpg/repos/community-any/PKGBUILD
----------+
PKGBUILD | 78 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 39 insertions(+), 39 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-04-07 16:06:13 UTC (rev 314870)
+++ PKGBUILD 2018-04-07 16:06:23 UTC (rev 314871)
@@ -1,39 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-
-_gemname=mail-gpg
-pkgname=ruby-mail-gpg
-pkgver=0.3.1
-pkgrel=2
-pkgdesc='GPG/MIME extension for the Ruby Mail Library'
-url='https://github.com/jkraemer/mail-gpg'
-arch=('any')
-license=('MIT')
-depends=('ruby' 'ruby-gpgme' 'ruby-mail')
-options=('!emptydirs')
-source=(${pkgname}-${pkgver}.tar.gz::https://github.com/jkraemer/mail-gpg/archive/v${pkgver}.tar.gz
- ${pkgname}-${pkgver}.tar.gz.asc::https://github.com/jkraemer/mail-gpg/releases/download/v${pkgver}/mail-gpg-${pkgver}.tar.gz.asc)
-sha512sums=('0b849ff6f4280150a122b9676f596c85d88c276949c505ecce4b6d346eebeb0d6ef3a71c19bbe0054f0df36ed32d7a28802bea961007ebb6ce78cd1c78bfd91f'
- 'SKIP')
-validpgpkeys=('C3880ACE6187419B177C472E08625A14CE3CDDAA') # Jens Kraemer <jk at jkraemer.net>
-
-prepare() {
- cd ${_gemname}-${pkgver}
- sed -r 's|~>|>=|g' -i ${_gemname}.gemspec # don't give a fuck about rubys bla bla
- sed 's|git ls-files|find -type f|' -i ${_gemname}.gemspec
-}
-
-build() {
- cd ${_gemname}-${pkgver}
- gem build ${_gemname}.gemspec
-}
-
-package() {
- cd ${_gemname}-${pkgver}
- 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 LICENSE.txt -t "${pkgdir}/usr/share/licenses/${pkgname}"
- install -Dm 644 README.md History.txt -t "${pkgdir}/usr/share/doc/${pkgname}"
- rm "${pkgdir}/${_gemdir}/cache/${_gemname}-${pkgver}.gem"
-}
-
-# vim: ts=2 sw=2 et:
Copied: ruby-mail-gpg/repos/community-any/PKGBUILD (from rev 314870, ruby-mail-gpg/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-04-07 16:06:23 UTC (rev 314871)
@@ -0,0 +1,39 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+_gemname=mail-gpg
+pkgname=ruby-mail-gpg
+pkgver=0.3.3
+pkgrel=1
+pkgdesc='GPG/MIME extension for the Ruby Mail Library'
+url='https://github.com/jkraemer/mail-gpg'
+arch=('any')
+license=('MIT')
+depends=('ruby' 'ruby-gpgme' 'ruby-mail' 'ruby-rdoc')
+options=('!emptydirs')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/jkraemer/mail-gpg/archive/v${pkgver}.tar.gz
+ ${pkgname}-${pkgver}.tar.gz.asc::https://github.com/jkraemer/mail-gpg/releases/download/v${pkgver}/mail-gpg-${pkgver}.tar.gz.asc)
+sha512sums=('4faaadb9cf81c649193f4acad4d5866919f04c4c7cda6a029fc5789c934a07e2a80a3eb0cd76e822e9286cd5c83b495d439a07a4f97b8ec778bed5bc24df20ea'
+ 'SKIP')
+validpgpkeys=('C3880ACE6187419B177C472E08625A14CE3CDDAA') # Jens Kraemer <jk at jkraemer.net>
+
+prepare() {
+ cd ${_gemname}-${pkgver}
+ sed -r 's|~>|>=|g' -i ${_gemname}.gemspec # don't give a fuck about rubys bla bla
+ sed 's|git ls-files|find -type f|' -i ${_gemname}.gemspec
+}
+
+build() {
+ cd ${_gemname}-${pkgver}
+ gem build ${_gemname}.gemspec
+}
+
+package() {
+ cd ${_gemname}-${pkgver}
+ 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 LICENSE.txt -t "${pkgdir}/usr/share/licenses/${pkgname}"
+ install -Dm 644 README.md History.txt -t "${pkgdir}/usr/share/doc/${pkgname}"
+ rm "${pkgdir}/${_gemdir}/cache/${_gemname}-${pkgver}.gem"
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list