summaryrefslogtreecommitdiff
path: root/community/haskell-pandoc/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/haskell-pandoc/PKGBUILD')
-rw-r--r--community/haskell-pandoc/PKGBUILD7
1 files changed, 5 insertions, 2 deletions
diff --git a/community/haskell-pandoc/PKGBUILD b/community/haskell-pandoc/PKGBUILD
index 6f8310913..a31f95cb8 100644
--- a/community/haskell-pandoc/PKGBUILD
+++ b/community/haskell-pandoc/PKGBUILD
@@ -5,7 +5,7 @@
_hkgname=pandoc
pkgname=haskell-pandoc
pkgver=1.11.1
-pkgrel=5
+pkgrel=6
pkgdesc="Conversion between markup formats"
url="http://hackage.haskell.org/package/${_hkgname}"
license=('GPL')
@@ -15,6 +15,9 @@ depends=('haskell-base64-bytestring' 'haskell-blaze-html' 'haskell-blaze-markup'
source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
install=$pkgname.install
md5sums=('e895b22745affba37c0ba5e6e6d0f17c')
+provides=(pandoc)
+conflicts=(pandoc)
+replaces=(pandoc)
build() {
cd $_hkgname-$pkgver
@@ -22,7 +25,7 @@ build() {
--prefix=/usr --docdir=/usr/share/doc/$pkgname --libsubdir=\$compiler/site-local/\$pkgid
runhaskell Setup build
runhaskell Setup haddock
- runhaskell Setup register --gen-script
+ runhaskell Setup register --gen-script
runhaskell Setup unregister --gen-script
sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
}