Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

osert: fix pandoc dependency #4131

Merged
merged 4 commits into from
May 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"
}

Loading