1
0
mirror of https://github.com/bertptrs/aur.git synced 2025-12-27 21:40:31 +01:00

Compare commits

...

10 Commits

Author SHA1 Message Date
52ccbffbac upgpkg: ruby-liquid 5.4.0-1
upstream release
2023-10-17 19:36:46 +02:00
ab768bbdd2 Add 'ruby-liquid/' from commit 'a535cc7055221945d74bc3550d5fe4d7ec013e35'
git-subtree-dir: ruby-liquid
git-subtree-mainline: ea8d192938
git-subtree-split: a535cc7055
2023-10-17 19:33:13 +02:00
Patrick Lühne
a535cc7055 Update to Liquid 4.0.3 2019-04-13 12:07:30 +02:00
Patrick Lühne
12739fdcb2 Update .SRCINFO 2018-10-27 17:57:07 +02:00
Patrick Lühne
29bc5a5b10 Update to Liquid 4.0.1 2018-10-27 17:56:20 +02:00
Patrick Lühne
d7d686ae61 Add missing make dependency
Recently, Ruby stopped shipping RDoc by default. For this reason, users
without an explicit RDoc installation would face building issues with
this PKGBUILD. To fix this, this commit adds the now missing ruby-rdoc
make dependency.
2018-08-23 18:51:12 +02:00
Patrick Lühne
8a37545084 Trigger rebuild with Ruby 2.5 2018-01-08 19:16:13 +01:00
Patrick Lühne
13c656a778 Remove trailing period in description
This is to make this PKGBUILD consistent with the other ones in AUR.
2017-11-20 20:31:24 +01:00
Patrick Lühne
fdba53b289 Fix Ruby environment
With “$(gem env gemdir)”, users reported that the gem was installed in
their home directory and not the default gem directory. This fixes that
by using the default gem installation directory instead.
2017-11-20 18:26:31 +01:00
Patrick Lühne
6afa6c782e Initial commit as of ruby-liquid 4.0.0. 2017-10-11 00:24:41 +02:00
2 changed files with 49 additions and 0 deletions

14
ruby-liquid/.SRCINFO Normal file
View File

@@ -0,0 +1,14 @@
pkgbase = ruby-liquid
pkgdesc = Liquid markup language. Safe, customer facing template language for flexible web apps
pkgver = 5.4.0
pkgrel = 1
url = https://shopify.github.io/liquid/
arch = any
license = MIT
makedepends = ruby-rdoc
depends = ruby
options = !emptydirs
source = ruby-liquid-5.4.0.tar.gz::https://github.com/Shopify/liquid/archive/v5.4.0.tar.gz
sha512sums = 45b394aa945206b200a2aa30e2e0b0f0937e7e59bd213f45f0484f2f6f3d68fca96f93a7ae64ac05249439048842b53e20a58d73be88470ed94cf40cc65c4cfb
pkgname = ruby-liquid

35
ruby-liquid/PKGBUILD Normal file
View File

@@ -0,0 +1,35 @@
# Maintainer: Patrick Lühne <patrick-arch@luehne.de>
_gemname=liquid
pkgname=ruby-$_gemname
pkgver=5.4.0
pkgrel=1
pkgdesc='Liquid markup language. Safe, customer facing template language for flexible web apps'
url='https://shopify.github.io/liquid/'
arch=('any')
license=('MIT')
makedepends=('ruby-rdoc')
depends=('ruby')
options=('!emptydirs')
source=(${pkgname}-${pkgver}.tar.gz::https://github.com/Shopify/${_gemname}/archive/v${pkgver}.tar.gz)
sha512sums=('45b394aa945206b200a2aa30e2e0b0f0937e7e59bd213f45f0484f2f6f3d68fca96f93a7ae64ac05249439048842b53e20a58d73be88470ed94cf40cc65c4cfb')
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 -z|find -type f -print0\|sed "s,\\\\./,,g"|' -i ${_gemname}.gemspec
}
build() {
cd ${_gemname}-${pkgver}
gem build ${_gemname}.gemspec
}
package() {
cd ${_gemname}-${pkgver}
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
install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
rm "${pkgdir}/${_gemdir}/cache/${_gemname}-${pkgver}.gem"
}