summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnatoly Bashmakov2020-05-26 01:18:29 +0300
committerAnatoly Bashmakov2020-05-26 01:18:29 +0300
commit55173febae17fbbb3a2a22dbd226a498552911d7 (patch)
tree95d268301dfd0a74630ee5f6ca773be7effdd4a8
downloadaur-55173febae17fbbb3a2a22dbd226a498552911d7.tar.gz
Initial commit.
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD24
2 files changed, 42 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..c670f3bb714
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = ruby-prawn-icon
+ pkgdesc = Provides icon fonts for PrawnPDF
+ pkgver = 2.5.0
+ pkgrel = 1
+ url = https://github.com/jessedoyle/prawn-icon/
+ arch = any
+ license = RUBY
+ license = GPL-2
+ license = GPL-3
+ depends = ruby
+ depends = ruby-prawn
+ noextract = prawn-icon-2.5.0.gem
+ options = !emptydirs
+ source = https://rubygems.org/downloads/prawn-icon-2.5.0.gem
+ sha1sums = c80e639d69c7cf386f0be2e21a37448208cad598
+
+pkgname = ruby-prawn-icon
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..166ac56be6d
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,24 @@
+# Generated by gem2arch (https://github.com/anatol/gem2arch)
+# Maintainer: Anatoly Bashmakov <anatoly at posteo dot net>
+
+_gemname=prawn-icon
+pkgname=ruby-$_gemname
+pkgver=2.5.0
+pkgrel=1
+pkgdesc='Provides icon fonts for PrawnPDF'
+arch=(any)
+url='https://github.com/jessedoyle/prawn-icon/'
+license=(RUBY GPL-2 GPL-3)
+depends=(ruby ruby-prawn)
+options=(!emptydirs)
+source=(https://rubygems.org/downloads/$_gemname-$pkgver.gem)
+noextract=($_gemname-$pkgver.gem)
+sha1sums=('c80e639d69c7cf386f0be2e21a37448208cad598')
+
+package() {
+ local _gemdir="$(ruby -e'puts Gem.default_dir')"
+ gem install --ignore-dependencies --no-user-install -i "$pkgdir/$_gemdir" -n "$pkgdir/usr/bin" $_gemname-$pkgver.gem
+ rm "$pkgdir/$_gemdir/cache/$_gemname-$pkgver.gem"
+ install -D -m644 "$pkgdir/$_gemdir/gems/$_gemname-$pkgver/COPYING" "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+ install -D -m644 "$pkgdir/$_gemdir/gems/$_gemname-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}