summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorWu Zhenyu2023-04-13 18:06:46 +0800
committerWu Zhenyu2023-04-13 18:06:46 +0800
commit27525e1d4adabf82930847e8d1e3da35962a3ade (patch)
tree5ffc1b2e4352d78077f9c000e6b77b9bef417b32
downloadaur-ruby-jekyll-github-metadata.tar.gz
:tada: Initial
-rw-r--r--.SRCINFO16
-rw-r--r--.gitignore5
-rw-r--r--PKGBUILD22
3 files changed, 43 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..1f90515ff4bd
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = ruby-jekyll-github-metadata
+ pkgdesc = The site.github namespace
+ pkgver = 2.16.0
+ pkgrel = 1
+ url = https://github.com/jekyll/github-metadata
+ arch = any
+ license = MIT
+ depends = ruby
+ depends = ruby-jekyll
+ depends = ruby-octokit
+ noextract = jekyll-github-metadata-2.16.0.gem
+ options = !emptydirs
+ source = https://rubygems.org/downloads/jekyll-github-metadata-2.16.0.gem
+ sha1sums = 7d25806f65be2e5da3b4a64db25b676b711ab2f0
+
+pkgname = ruby-jekyll-github-metadata
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 000000000000..8a5cafba2b8e
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,5 @@
+/*
+!/.gitignore
+!/PKGBUILD
+!/.SRCINFO
+!/*.install
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..e784bcc036de
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,22 @@
+# Generated by gem2arch (https://github.com/anatol/gem2arch)
+# Maintainer: Wu Zhenyu <wuzhenyu@ustc.edu>
+
+_gemname=jekyll-github-metadata
+pkgname=ruby-$_gemname
+pkgver=2.16.0
+pkgrel=1
+pkgdesc='The site.github namespace'
+arch=(any)
+url='https://github.com/jekyll/github-metadata'
+license=(MIT)
+depends=(ruby ruby-jekyll ruby-octokit)
+options=(!emptydirs)
+source=(https://rubygems.org/downloads/$_gemname-$pkgver.gem)
+noextract=($_gemname-$pkgver.gem)
+sha1sums=('7d25806f65be2e5da3b4a64db25b676b711ab2f0')
+
+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"
+}