Date: Thursday, March 2, 2023 @ 16:18:40
Author: felixonmars
Revision: 1407256
archrelease: copy trunk to community-staging-x86_64
Added:
pandoc-cli/repos/community-staging-x86_64/PKGBUILD
(from rev 1407255, pandoc-cli/trunk/PKGBUILD)
Deleted:
pandoc-cli/repos/community-staging-x86_64/PKGBUILD
----------+
PKGBUILD | 100 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 50 insertions(+), 50 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-03-02 16:18:29 UTC (rev 1407255)
+++ PKGBUILD 2023-03-02 16:18:40 UTC (rev 1407256)
@@ -1,50 +0,0 @@
-# Maintainer: Felix Yan <[email protected]>
-
-pkgname=pandoc-cli
-pkgver=0.1
-pkgrel=12
-pkgdesc="Conversion between documentation formats"
-url="https://pandoc.org"
-license=("GPL")
-arch=('x86_64')
-provides=('pandoc')
-conflicts=('pandoc')
-replaces=('pandoc')
-depends=('ghc-libs' 'hslua-cli' 'haskell-pandoc' 'haskell-pandoc-lua-engine'
'haskell-pandoc-server'
- 'haskell-safe' 'haskell-wai-extra' 'haskell-warp')
-makedepends=('ghc' 'uusi')
-source=("https://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz")
-sha256sums=('c5d6ac5fecfcbc0c2a69c696dc543e60bcf9685fc3db3ae5d9929abe6c28cb05')
-
-prepare() {
- cd $pkgname-$pkgver
- gen-setup
-}
-
-build() {
- cd $pkgname-$pkgver
-
- runhaskell Setup configure -O --enable-shared --enable-executable-dynamic
--disable-library-vanilla \
- --prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname
--datasubdir=haskell-pandoc-cli --enable-tests \
- --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
--ghc-option=-fllvm \
- --ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
- --ghc-option='-pie' \
- -flua -f-nightly -fserver
-
- runhaskell Setup build $MAKEFLAGS
-}
-
-check() {
- cd $pkgname-$pkgver
- runhaskell Setup test --show-details=direct
-}
-
-package() {
- cd $pkgname-$pkgver
- runhaskell Setup copy --destdir="$pkgdir"
- install -D -m644 COPYING.md -t "$pkgdir"/usr/share/licenses/$pkgname/
- rm -f "$pkgdir"/usr/share/doc/$pkgname/COPYING.md
-
- LD_LIBRARY_PATH="$PWD/dist/build" dist/build/pandoc/pandoc --bash-completion
> pandoc-completion.bash
- install -Dm644 pandoc-completion.bash
"$pkgdir"/usr/share/bash-completion/completions/pandoc
-}
Copied: pandoc-cli/repos/community-staging-x86_64/PKGBUILD (from rev 1407255,
pandoc-cli/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-03-02 16:18:40 UTC (rev 1407256)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=pandoc-cli
+pkgver=0.1
+pkgrel=13
+pkgdesc="Conversion between documentation formats"
+url="https://pandoc.org"
+license=("GPL")
+arch=('x86_64')
+provides=('pandoc')
+conflicts=('pandoc')
+replaces=('pandoc')
+depends=('ghc-libs' 'hslua-cli' 'haskell-pandoc' 'haskell-pandoc-lua-engine'
'haskell-pandoc-server'
+ 'haskell-safe' 'haskell-wai-extra' 'haskell-warp')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz")
+sha256sums=('c5d6ac5fecfcbc0c2a69c696dc543e60bcf9685fc3db3ae5d9929abe6c28cb05')
+
+prepare() {
+ cd $pkgname-$pkgver
+ gen-setup
+}
+
+build() {
+ cd $pkgname-$pkgver
+
+ runhaskell Setup configure -O --enable-shared --enable-executable-dynamic
--disable-library-vanilla \
+ --prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname
--datasubdir=haskell-pandoc-cli --enable-tests \
+ --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
--ghc-option=-fllvm \
+ --ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+ --ghc-option='-pie' \
+ -flua -f-nightly -fserver
+
+ runhaskell Setup build $MAKEFLAGS
+}
+
+check() {
+ cd $pkgname-$pkgver
+ runhaskell Setup test --show-details=direct
+}
+
+package() {
+ cd $pkgname-$pkgver
+ runhaskell Setup copy --destdir="$pkgdir"
+ install -D -m644 COPYING.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+ rm -f "$pkgdir"/usr/share/doc/$pkgname/COPYING.md
+
+ LD_LIBRARY_PATH="$PWD/dist/build" dist/build/pandoc/pandoc --bash-completion
> pandoc-completion.bash
+ install -Dm644 pandoc-completion.bash
"$pkgdir"/usr/share/bash-completion/completions/pandoc
+}