summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9b2fa665c977533cfe5c628fd7eb321fae119c94 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Maintainer: Ankit R Gadiya <arch@argp.in>

pkgname=ruby-jekyll-seo-tag
pkgver=2.7.1
pkgrel=1
pkgdesc="A Jekyll plugin to add metadata tags for search engines and social networks to better index and display your site's content"
arch=('any')
depends=('ruby' 'jekyll')
url="https://rubygems.org/gems/jekyll-seo-tag"
noextract=("jekyll-seo-tag-${pkgver}.gem")
license=('MIT')
source=("https://rubygems.org/downloads/jekyll-seo-tag-${pkgver}.gem")
sha256sums=('838bcc05d9f0b342f50a1cea19b8fc99f9728910da99203cd75cccea6139513b')

package() {
    local _gemdir="$(ruby -e'puts Gem.default_dir')"
    gem install --ignore-dependencies --no-user-install -i "${pkgdir}/${_gemdir}" -n "${pkgdir}/usr/bin" "jekyll-seo-tag-${pkgver}.gem"
    rm "${pkgdir}/${_gemdir}/cache/jekyll-seo-tag-${pkgver}.gem"

    install -Dm644 "${pkgdir}/${_gemdir}/gems/jekyll-seo-tag-${pkgver}/LICENSE.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}