Skip to content

Commit

Permalink
osert: fix pandoc dependency (#4131)
Browse files Browse the repository at this point in the history
* osert: fix pandoc dependency

Fixed dependency and target directory of pandoc. It solved the issue that prevented to generate PDF from input file.

* osert: fix pandoc dependency

* Update PKGBUILD

* Update PKGBUILD
  • Loading branch information
D3vil0p3r committed May 4, 2024
1 parent 661953d commit 0f84243
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
1 change: 1 addition & 0 deletions lists/to-release
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
osert: fix pandoc dependency
11 changes: 5 additions & 6 deletions packages/osert/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ pkgname=osert
_pkgname=OSCP-Exam-Report-Template-Markdown
pkgver=87.04fb669
_eisvogelver=2.0.0
pkgrel=1
pkgrel=2
pkgdesc="Markdown Templates for Offensive Security exam reports."
groups=('blackarch' 'blackarch-misc')
arch=('any')
url='https://github.com/noraj/OSCP-Exam-Report-Template-Markdown'
license=('MIT')
depends=('ruby' 'p7zip' 'pandoc' 'texlive-core' 'texlive-fontsextra'
'texlive-latexextra')
depends=('ruby' 'p7zip' 'haskell-pandoc' 'texlive-core' 'texlive-fontsextra'
'texlive-fontsrecommended' 'texlive-latexextra')
makedepends=('git' 'unzip')
source=("git+https://github.com/noraj/$_pkgname.git"
"https://raw.githubusercontent.com/Wandmalfarbe/pandoc-latex-template/v$_eisvogelver/eisvogel.tex")
Expand All @@ -30,15 +30,14 @@ package() {

install -dm 755 "$pkgdir/usr/bin"
install -dm 755 "$pkgdir/usr/share/$pkgname"
install -dm 755 "$pkgdir/usr/share/pandoc/data/templates/"
install -dm 755 "$pkgdir/usr/share/haskell-pandoc/data/templates/"

install -Dm 644 ../eisvogel.tex \
"$pkgdir/usr/share/pandoc/data/templates/eisvogel.latex"
"$pkgdir/usr/share/haskell-pandoc/data/templates/eisvogel.latex"

cp -a 'src' "$pkgdir/usr/share/$pkgname/"
install -Dm 755 "$pkgname.rb" "$pkgdir/usr/bin/$pkgname"

install -Dm 644 -t "$pkgdir/usr/share/doc/$pkgname/" *.md
install -Dm 644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}

0 comments on commit 0f84243

Please sign in to comment.