File tree Expand file tree Collapse file tree 3 files changed +53
-0
lines changed
archlinuxcn/asciidoctor-web-pdf-git Expand file tree Collapse file tree 3 files changed +53
-0
lines changed Original file line number Diff line number Diff line change 1+ *
2+ * . *
Original file line number Diff line number Diff line change 1+ # Maintainer: taotieren <[email protected] >2+
3+ pkgname=asciidoctor-web-pdf-git
4+ pkgver=1.0.0.alpha.16.r5.gc613be3
5+ pkgrel=1
6+ pkgdesc=" A PDF converter for AsciiDoc based on web technologies. It allows complex layouts to be defined with CSS and JavaScript, while writing the content in AsciiDoc."
7+ arch=(' any' )
8+ url=" https://github.com/Mogztter/asciidoctor-web-pdf"
9+ license=(' MIT' )
10+ provides=(${pkgname} )
11+ conflicts=(${pkgname} ${pkgname% -git} asciidoctor-pdf)
12+ # replaces=(${pkgname})
13+ depends=(npm poppler ghostscript)
14+ makedepends=()
15+ backup=()
16+ options=(' !strip' )
17+ install=
18+ source=(" ${pkgname% -git} ::git+${url} .git" )
19+ sha256sums=(' SKIP' )
20+ noextract=()
21+
22+ pkgver () {
23+ cd " ${srcdir} /${pkgname% -git} "
24+ git describe --long --tags | sed ' s/^v//g;s/\([^-]*-g\)/r\1/;s/-/./g'
25+ }
26+
27+ package () {
28+ npm install -g --prefix " ${pkgdir} /usr" " ${srcdir} /${pkgname% -git} "
29+
30+ # Non-deterministic race in npm gives 777 permissions to random directories.
31+ # See https://github.com/npm/cli/issues/1103 for details.
32+ find " ${pkgdir} /usr" -type d -exec chmod 755 {} +
33+
34+ # npm gives ownership of ALL FILES to build user
35+ # https://bugs.archlinux.org/task/63396
36+ chown -R root:root " ${pkgdir} "
37+ }
Original file line number Diff line number Diff line change 1+ maintainers :
2+ - github : taotieren
3+
4+ build_prefix : extra-x86_64
5+
6+ pre_build : vcs_update
7+
8+ post_build_script : |
9+ git_pkgbuild_commit()
10+ update_aur_repo()
11+
12+ update_on :
13+ - source : github
14+ github : Mogztter/asciidoctor-web-pdf
You can’t perform that action at this time.
0 commit comments