asciidoctor 2.0.23-2
This commit is contained in:
parent
ae45f19254
commit
feebfad34d
7
PKGBUILD
7
PKGBUILD
@ -6,7 +6,7 @@
|
||||
# Maintainer: Future Linux Team <future_linux@163.com>
|
||||
pkgname=asciidoctor
|
||||
pkgver=2.0.23
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="An implementation of AsciiDoc in Ruby"
|
||||
arch=('x86_64')
|
||||
url="https://asciidoctor.org"
|
||||
@ -26,12 +26,13 @@ build() {
|
||||
package() {
|
||||
cd ${pkgname}-${pkgver}
|
||||
|
||||
gem install -i ${pkgdir}/usr/lib64/ruby/gems/3.3.0 \
|
||||
gem install --ignore-dependencies --no-user-install --verbose \
|
||||
-i ${pkgdir}/usr/lib64/ruby/gems/3.3.0 \
|
||||
-n ${pkgdir}/usr/bin \
|
||||
${pkgname}-${pkgver}.gem
|
||||
|
||||
install -vdm755 ${pkgdir}/usr/share/man/man1
|
||||
install -vm644 man/asciidoctor.1 ${pkgdir}/usr/share/man/man1
|
||||
|
||||
mv ${pkgdir}/usr/lib64/ruby/gems/3.3.0/doc ${pkgdir}/usr/share
|
||||
rm ${pkgdir}/usr/lib64/ruby/gems/3.3.0/cache/${pkgname}-${pkgver}.gem
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user