summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kernels/linux-libre-rt/PKGBUILD35
-rw-r--r--kernels/linux-libre-xen/PKGBUILD36
-rw-r--r--libre/aufs3-libre/PKGBUILD2
-rw-r--r--libre/hplip-libre/PKGBUILD17
-rw-r--r--libre/hplip-libre/hplip.install1
-rw-r--r--libre/linux-libre-aufs_friendly/PKGBUILD2
-rw-r--r--libre/linux-libre-lts/PKGBUILD18
-rw-r--r--libre/pacman-mirrorlist-libre/PKGBUILD2
-rw-r--r--social/bitcoin-daemon/PKGBUILD10
-rw-r--r--social/python2-cheetah/Changelog6
-rw-r--r--social/python2-cheetah/PKGBUILD33
-rw-r--r--~fauno/pandoc/PKGBUILD51
-rw-r--r--~fauno/pandoc/SRCBUILD33
13 files changed, 128 insertions, 118 deletions
diff --git a/kernels/linux-libre-rt/PKGBUILD b/kernels/linux-libre-rt/PKGBUILD
index 336d58cb0..47f4e371c 100644
--- a/kernels/linux-libre-rt/PKGBUILD
+++ b/kernels/linux-libre-rt/PKGBUILD
@@ -8,7 +8,7 @@
# Contributor (Parabola): André Silva <andre.paulista@adinet.com.uy>
pkgbase=linux-libre-rt
-pkgname=('linux-libre-rt' 'linux-libre-rt-headers' 'linux-libre-rt-docs') # Build stock -LIBRE kernel
+pkgname=('linux-libre-rt' 'linux-libre-rt-headers') # Build stock -LIBRE kernel with RT support
# pkgname=linux-custom # Build kernel with a different name
_kernelname=${pkgname#linux-libre}
_basekernel=3.2
@@ -16,7 +16,7 @@ _releasever=6
_rtpatchver=rt13
_pkgver=${_basekernel}.${_releasever}
pkgver=${_basekernel}.${_releasever}_${_rtpatchver}
-pkgrel=1
+pkgrel=2
arch=('i686' 'x86_64')
url="http://linux-libre.fsfla.org/"
license=('GPL2')
@@ -109,12 +109,11 @@ build() {
package_linux-libre-rt() {
pkgdesc="The Linux-libre Kernel and modules with RT patches"
- groups=('base')
depends=('coreutils' 'module-init-tools>=3.16' 'mkinitcpio>=0.7')
optdepends=('crda: to set the correct wireless channels of your country')
- provides=('kernel26' "linux=$_pkgver")
- conflicts=('kernel26' 'kernel26-libre' 'linux')
- replaces=('kernel26' 'kernel26-libre' 'linux')
+ provides=('kernel26-rt' "linux-rt=$_pkgver")
+ conflicts=('kernel26-rt' 'kernel26-libre-rt' 'linux-rt')
+ replaces=('kernel26-rt' 'kernel26-libre-rt' 'linux-rt')
backup=("etc/mkinitcpio.d/${pkgname}.preset")
install=${pkgname}.install
@@ -160,10 +159,10 @@ package_linux-libre-rt() {
}
package_linux-libre-rt-headers() {
- pkgdesc="Header files and scripts for building modules for linux-libre kernel"
- provides=('kernel26-headers' "linux-headers=${_pkgver}")
- conflicts=('kernel26-headers' 'kernel26-libre-headers' 'linux-headers')
- replaces=('kernel26-headers' 'kernel26-libre-headers' 'linux-headers')
+ pkgdesc="Header files and scripts for building modules for linux-libre-rt kernel"
+ provides=('kernel26-rt-headers' "linux-rt-headers=${_pkgver}")
+ conflicts=('kernel26-rt-headers' 'kernel26-libre-rt-headers' 'linux-rt-headers')
+ replaces=('kernel26-rt-headers' 'kernel26-libre-rt-headers' 'linux-rt-headers')
mkdir -p "${pkgdir}/lib/modules/${_kernver}"
@@ -290,19 +289,3 @@ package_linux-libre-rt-headers() {
rm -rf "${pkgdir}"/usr/src/linux-${_kernver}/arch/{alpha,arm,arm26,avr32,blackfin,cris,frv,h8300,ia64,m32r,m68k,m68knommu,mips,microblaze,mn10300,parisc,powerpc,ppc,s390,sh,sh64,sparc,sparc64,um,v850,xtensa}
}
-package_linux-libre-rt-docs() {
- pkgdesc="Kernel hackers manual - HTML documentation that comes with the Linux-libre kernel."
- provides=('kernel26-docs' "linux-docs=$_pkgver")
- conflicts=('kernel26-docs' 'kernel26-libre-docs' 'linux-docs')
- replaces=('kernel26-docs' 'kernel26-libre-docs' 'linux-docs')
-
- cd "${srcdir}/linux-${_basekernel}"
-
- mkdir -p "${pkgdir}/usr/src/linux-${_kernver}"
- cp -al Documentation "${pkgdir}/usr/src/linux-${_kernver}"
- find "${pkgdir}" -type f -exec chmod 444 {} \;
- find "${pkgdir}" -type d -exec chmod 755 {} \;
-
- # remove a file already in linux package
- rm -f "${pkgdir}/usr/src/linux-${_kernver}/Documentation/DocBook/Makefile"
-}
diff --git a/kernels/linux-libre-xen/PKGBUILD b/kernels/linux-libre-xen/PKGBUILD
index e8e763670..1dd0325fd 100644
--- a/kernels/linux-libre-xen/PKGBUILD
+++ b/kernels/linux-libre-xen/PKGBUILD
@@ -6,12 +6,12 @@
# Contributor (Parabola): André Silva <andre.paulista@adinet.com.uy>
pkgbase=linux-libre-xen
-pkgname=('linux-libre-xen' 'linux-libre-xen-headers' 'linux-libre-xen-docs') # Build stock -LIBRE kernel with Xen guest support
+pkgname=('linux-libre-xen' 'linux-libre-xen-headers') # Build stock -LIBRE kernel with Xen guest support
# pkgname=linux-custom # Build kernel with a different name
_kernelname=${pkgname#linux-libre}
_basekernel=3.2
pkgver=${_basekernel}.9
-pkgrel=1
+pkgrel=2
arch=('i686' 'x86_64')
url="http://linux-libre.fsfla.org/"
license=('GPL2')
@@ -104,12 +104,11 @@ build() {
package_linux-libre-xen() {
pkgdesc="The Linux-libre Kernel and modules with Xen guest support"
- groups=('base')
depends=('coreutils' 'module-init-tools>=3.16' 'mkinitcpio>=0.7')
optdepends=('crda: to set the correct wireless channels of your country')
- provides=('kernel26' "linux=$pkgver")
- conflicts=('kernel26' 'kernel26-libre' 'linux')
- replaces=('kernel26' 'kernel26-libre' 'linux')
+ provides=('kernel26-xen' "linux-xen=$pkgver")
+ conflicts=('kernel26-xen' 'kernel26-libre-xen' 'linux-xen')
+ replaces=('kernel26-xen' 'kernel26-libre-xen' 'linux-xen')
backup=("etc/mkinitcpio.d/${pkgname}.preset")
install=${pkgname}.install
@@ -155,10 +154,10 @@ package_linux-libre-xen() {
}
package_linux-libre-xen-headers() {
- pkgdesc="Header files and scripts for building modules for linux-libre kernel"
- provides=('kernel26-headers' "linux-headers=${pkgver}")
- conflicts=('kernel26-headers' 'kernel26-libre-headers' 'linux-headers')
- replaces=('kernel26-headers' 'kernel26-libre-headers' 'linux-headers')
+ pkgdesc="Header files and scripts for building modules for linux-libre-xen kernel"
+ provides=('kernel26-xen-headers' "linux-xen-headers=${pkgver}")
+ conflicts=('kernel26-xen-headers' 'kernel26-libre-xen-headers' 'linux-xen-headers')
+ replaces=('kernel26-xen-headers' 'kernel26-libre-xen-headers' 'linux-xen-headers')
mkdir -p "${pkgdir}/lib/modules/${_kernver}"
@@ -284,20 +283,3 @@ package_linux-libre-xen-headers() {
# remove unneeded architectures
rm -rf "${pkgdir}"/usr/src/linux-${_kernver}/arch/{alpha,arm,arm26,avr32,blackfin,cris,frv,h8300,ia64,m32r,m68k,m68knommu,mips,microblaze,mn10300,parisc,powerpc,ppc,s390,sh,sh64,sparc,sparc64,um,v850,xtensa}
}
-
-package_linux-libre-xen-docs() {
- pkgdesc="Kernel hackers manual - HTML documentation that comes with the Linux-libre kernel."
- provides=('kernel26-docs' "linux-docs=$pkgver")
- conflicts=('kernel26-docs' 'kernel26-libre-docs' 'linux-docs')
- replaces=('kernel26-docs' 'kernel26-libre-docs' 'linux-docs')
-
- cd "${srcdir}/linux-${_basekernel}"
-
- mkdir -p "${pkgdir}/usr/src/linux-${_kernver}"
- cp -al Documentation "${pkgdir}/usr/src/linux-${_kernver}"
- find "${pkgdir}" -type f -exec chmod 444 {} \;
- find "${pkgdir}" -type d -exec chmod 755 {} \;
-
- # remove a file already in linux package
- rm -f "${pkgdir}/usr/src/linux-${_kernver}/Documentation/DocBook/Makefile"
-}
diff --git a/libre/aufs3-libre/PKGBUILD b/libre/aufs3-libre/PKGBUILD
index cb338fe6f..5b2dafdfa 100644
--- a/libre/aufs3-libre/PKGBUILD
+++ b/libre/aufs3-libre/PKGBUILD
@@ -23,7 +23,7 @@ provides=("aufs3=$pkgver")
install=aufs3-libre.install
source=("http://calimeroteknik.free.fr/src/aufs3-${pkgver}.tar.gz")
options=('!makeflags' '!strip')
-md5sums=('4ee4adc0c25127c942be973410a6f90a')
+md5sums=('35dd55adc3f403f532ebe6d8fb354c77')
build() {
cd "${srcdir}/aufs3-${pkgver}"
diff --git a/libre/hplip-libre/PKGBUILD b/libre/hplip-libre/PKGBUILD
index 058573d05..ff876dfe8 100644
--- a/libre/hplip-libre/PKGBUILD
+++ b/libre/hplip-libre/PKGBUILD
@@ -1,11 +1,12 @@
# $Id: PKGBUILD 144357 2011-12-05 03:44:51Z eric $
# Maintainer : Rémy Oudompheng <remy@archlinux.org>
# Contributor: Morgan LEFIEUX <comete@archlinuxfr.org>
+# Contributor (Parabola): Jorge López <jorginho@adinet.com.uy>
_pkgname=hplip
pkgname=hplip-libre
-pkgver=3.11.10
-pkgrel=2
+pkgver=3.12.2
+pkgrel=1
pkgdesc="Drivers for HP DeskJet, OfficeJet, Photosmart, Business Inkjet and some LaserJet"
arch=('i686' 'x86_64')
url="http://hplipopensource.com"
@@ -27,8 +28,8 @@ provides=("${_pkgname}=${pkgver}")
options=('!libtool')
install=hplip.install
source=(http://downloads.sourceforge.net/${_pkgname}/$_pkgname-$pkgver.tar.gz{,.asc})
-md5sums=('6143f30f3b6905ef22105176a3b80db0'
- '396bbd8c5cc92aa8295e5bcb508692f3')
+sha1sums=('bdf3e37a344f5b57b62425f755c4293d6d4ae875'
+ 'aa00cdf755fea38f39247a0a4a2e8241dc15112c')
build() {
cd "$srcdir/$_pkgname-$pkgver"
@@ -41,10 +42,8 @@ build() {
sed -i 's|python %HOME%|python2 %HOME%|' base/utils.py
sed -i 's|python ./plugin.py|python2 ./plugin.py|' base/pkit.py
- # fix sysfs rules
- sed -i -e "s|SYSFS|ATTR|g" \
- -e "s|sysfs|attr|g" \
- data/rules/56-hpmud_support.rules
+ export AUTOMAKE='automake --foreign'
+ autoreconf --force --install
./configure --prefix=/usr \
--enable-qt4 \
@@ -67,4 +66,6 @@ package() {
make rulesdir=/lib/udev/rules.d DESTDIR="$pkgdir/" install
# remove config provided by sane and autostart of hp-daemon
rm -rf "$pkgdir"/etc/{sane.d,xdg}
+ # remove HAL .fdi file because HAL is no longer used
+ rm -rf "$pkgdir"/usr/share/hal
}
diff --git a/libre/hplip-libre/hplip.install b/libre/hplip-libre/hplip.install
index a05cbdd50..cb0eaf8e8 100644
--- a/libre/hplip-libre/hplip.install
+++ b/libre/hplip-libre/hplip.install
@@ -8,4 +8,3 @@ NOTE
EOF
}
-
diff --git a/libre/linux-libre-aufs_friendly/PKGBUILD b/libre/linux-libre-aufs_friendly/PKGBUILD
index 102a59b24..49b0adba1 100644
--- a/libre/linux-libre-aufs_friendly/PKGBUILD
+++ b/libre/linux-libre-aufs_friendly/PKGBUILD
@@ -15,7 +15,7 @@
# pkgbase=linux-libre
# Comment this line
-pkgname=linux-libre-aufs_friendly
+pkgname=('linux-libre-aufs_friendly' 'linux-libre-aufs_friendly-headers') # Build stock -LIBRE kernel with AUFS-libre support
_kernelname=${pkgname#linux-libre}
_basekernel=3.2
diff --git a/libre/linux-libre-lts/PKGBUILD b/libre/linux-libre-lts/PKGBUILD
index a3a4a283c..5ff568522 100644
--- a/libre/linux-libre-lts/PKGBUILD
+++ b/libre/linux-libre-lts/PKGBUILD
@@ -209,7 +209,7 @@ package_linux-libre-lts() {
}
package_linux-libre-lts-headers() {
- pkgdesc="Header files and scripts for building modules for linux-libre longtime supported kernel"
+ pkgdesc="Header files and scripts for building modules for linux-libre-lts-headers longtime supported kernel"
provides=('kernel26-lts-headers' "linux-lts-headers=${pkgver}")
conflicts=('kernel26-lts-headers' 'kernel26-libre-lts-headers' 'linux-lts-headers')
replaces=('kernel26-lts-headers' 'kernel26-libre-lts-headers' 'linux-lts-headers')
@@ -359,19 +359,3 @@ package_linux-libre-lts-headers() {
fi
}
-package_linux-libre-docs() {
- pkgdesc="Kernel hackers manual - HTML documentation that comes with the Linux-libre kernel."
- provides=('kernel26-docs' "linux-docs=$pkgver")
- conflicts=('kernel26-docs' 'kernel26-libre-docs' 'linux-docs')
- replaces=('kernel26-docs' 'kernel26-libre-docs' 'linux-docs')
-
- cd "${srcdir}/linux-${_basekernel}"
-
- mkdir -p "${pkgdir}/usr/src/linux-${_kernver}"
- cp -al Documentation "${pkgdir}/usr/src/linux-${_kernver}"
- find "${pkgdir}" -type f -exec chmod 444 {} \;
- find "${pkgdir}" -type d -exec chmod 755 {} \;
-
- # remove a file already in linux package
- rm -f "${pkgdir}/usr/src/linux-${_kernver}/Documentation/DocBook/Makefile"
-}
diff --git a/libre/pacman-mirrorlist-libre/PKGBUILD b/libre/pacman-mirrorlist-libre/PKGBUILD
index fd3ebc7c1..914c939d2 100644
--- a/libre/pacman-mirrorlist-libre/PKGBUILD
+++ b/libre/pacman-mirrorlist-libre/PKGBUILD
@@ -15,7 +15,7 @@ source=(mirrorlist::${url})
conflicts=(pacman-mirrorlist)
replaces=(pacman-mirrorlist)
provides=(pacman-mirrorlist)
-md5sums=('e070f8d2639fdb742d0bfb21d27820d1')
+md5sums=('3c7958c93c36a41ad18f8d09fd1803ff')
# keep an upgrade path for older installations
PKGEXT='.pkg.tar.gz'
diff --git a/social/bitcoin-daemon/PKGBUILD b/social/bitcoin-daemon/PKGBUILD
index 29e68d0f3..ddc5ac0ab 100644
--- a/social/bitcoin-daemon/PKGBUILD
+++ b/social/bitcoin-daemon/PKGBUILD
@@ -6,7 +6,7 @@
pkgname=bitcoin-daemon
_pkgname=bitcoin
-pkgver=0.5.1
+pkgver=0.5.2
pkgrel=1
pkgdesc="Bitcoin is a peer-to-peer network based digital currency (daemon with JSON-RPC interface)."
arch=('i686' 'x86_64')
@@ -23,6 +23,9 @@ source=("http://downloads.sourceforge.net/sourceforge/${_pkgname}/${_pkgname}-${
s1=$srcdir/${_pkgname}-${pkgver}-linux
src=$s1/src/src
makefile_unix=makefile.unix
+md5sums=('6d40f645ddc042de26d64e83656f38e0'
+ '0375ba4d6c3425eee350dc8b7575403d'
+ '7faa439885f3adbba5847ae75aac5484')
build() {
cd $src
@@ -42,7 +45,7 @@ build() {
package() {
# get compiled binaries
- install -d ${pkgdir}/{var/lib/${pkgname},usr/{share/licenses,bin},etc/rc.d}
+ mkdir -p ${pkgdir}/{var/lib/${pkgname},usr/{share/licenses/${pkgname},bin},etc/rc.d}
install -D -m755 ${src}/bitcoind ${pkgdir}/usr/bin/
@@ -51,6 +54,3 @@ package() {
install -D -m 644 ${s1}/COPYING \
${pkgdir}/usr/share/licenses/${pkgname}/
}
-md5sums=('1edeb3082d41741b8d0e5f850818328f'
- '0375ba4d6c3425eee350dc8b7575403d'
- '7faa439885f3adbba5847ae75aac5484')
diff --git a/social/python2-cheetah/Changelog b/social/python2-cheetah/Changelog
new file mode 100644
index 000000000..9acc7834a
--- /dev/null
+++ b/social/python2-cheetah/Changelog
@@ -0,0 +1,6 @@
+2012-01-31 Julien Nicoulaud <julien.nicoulaud@gmail.com>
+
+ * 2.4.4-4 :
+ Add changelog.
+ Remove unneeded shebang modification.
+
diff --git a/social/python2-cheetah/PKGBUILD b/social/python2-cheetah/PKGBUILD
new file mode 100644
index 000000000..34ce863a8
--- /dev/null
+++ b/social/python2-cheetah/PKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer: Julien Nicoulaud <julien.nicoulaud@gmail.com>
+# Contributor: James Rayner <james@archlinux.org>
+# Contributor: Todd Maynard <arch@toddmaynard.com>
+# Source: https://github.com/nicoulaj/archlinux-packages
+pkgname=python2-cheetah
+pkgver=2.4.4
+pkgrel=4
+pkgdesc="A Python-powered template engine and code generator"
+arch=(i686 x86_64)
+url="http://www.cheetahtemplate.org"
+license=(custom)
+depends=(python2 python-markdown)
+makedepends=(python2-distribute)
+optdepends=('python2-pygments: for the CodeHighlighter filter')
+provides=(cheetah python-cheetah)
+conflicts=(cheetah python-cheetah)
+changelog=Changelog
+source=(http://pypi.python.org/packages/source/C/Cheetah/Cheetah-${pkgver}.tar.gz)
+md5sums=('853917116e731afbc8c8a43c37e6ddba')
+
+build() {
+ cd "${srcdir}/Cheetah-${pkgver}"
+ python2 setup.py build
+}
+
+package() {
+ msg "Install..."
+ cd "${srcdir}/Cheetah-${pkgver}"
+ python2 setup.py install --root="${pkgdir}" || return 1
+
+ msg2 "Install copyright resources in /usr/share/licenses/${pkgname}..."
+ install -Dm644 "${srcdir}/Cheetah-${pkgver}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
diff --git a/~fauno/pandoc/PKGBUILD b/~fauno/pandoc/PKGBUILD
index 4d9a12809..d5ecf698c 100644
--- a/~fauno/pandoc/PKGBUILD
+++ b/~fauno/pandoc/PKGBUILD
@@ -6,48 +6,37 @@ _licensefile=COPYING
# PKGBUILD options/directives
pkgname=pandoc
-pkgver=1.8.2.1
-pkgrel=2
+pkgver=1.9.1.2
+pkgrel=1
pkgdesc='Conversion between markup formats (no Haskell libs)'
-url='http://johnmacfarlane.net/pandoc'
+url='http://johnmacfarlane.net/pandoc/'
license=('GPL')
arch=('i686' 'x86_64')
-makedepends=('ghc' 'sh' 'haskell-http' 'haskell-base64-bytestring'
-'haskell-bytestring' 'haskell-citeproc-hs' 'haskell-containers'
-'haskell-directory' 'haskell-dlist' 'haskell-extensible-exceptions'
-'haskell-filepath' 'haskell-json' 'haskell-mtl' 'haskell-network'
-'haskell-old-time' 'haskell-pandoc-types' 'haskell-parsec' 'haskell-process'
-'haskell-random' 'haskell-syb' 'haskell-tagsoup' 'haskell-texmath'
-'haskell-utf8-string' 'haskell-xhtml' 'haskell-xml' 'haskell-zip-archive')
+makedepends=('ghc' 'sh' 'cabal-install')
options=('strip')
-source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha256sums=('f1025377b2c78043b06d7963eb61ce66c2290d2580f2488a8186c82c24f09433')
+source=(https://repo.parabolagnulinux.org/other/${pkgname}-${pkgver}-${pkgrel}-any.src.tar.xz{,.sig})
conflicts=('haskell-pandoc')
+md5sums=('8b71e4a113f5b3bf456cf335d4f365f1'
+ '01f99b7d67d0726fe6b80396ead780d1')
# PKGBUILD functions
build() {
+ mkdir -p ${srcdir}/{build,${_hkgname}-${pkgver}}
cd ${srcdir}/${_hkgname}-${pkgver}
-
- runhaskell Setup configure -O -p --enable-split-objs --enable-shared \
- --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 unregister --gen-script
- sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+
+ HOME=${srcdir}/${_hkgname}-${pkgver} \
+ cabal install --prefix=${srcdir}/build/usr \
+ --enable-shared \
+ ${_hkgname}-${pkgver}
}
package() {
- cd ${srcdir}/${_hkgname}-${pkgver}
- install -D -m744 register.sh ${pkgdir}/usr/share/haskell/${pkgname}/register.sh
- install -m744 unregister.sh ${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh
- install -d -m755 ${pkgdir}/usr/share/doc/ghc/html/libraries
- ln -s /usr/share/doc/${pkgname}/html ${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}
- runhaskell Setup copy --destdir=${pkgdir}
- install -D -m644 ${_licensefile} ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
- rm -f ${pkgdir}/usr/share/doc/${pkgname}/${_licensefile}
+# Copy everything, but remove docs and haskell-libs
+ cp -a ${srcdir}/build/usr ${pkgdir}/
+ rm -r ${pkgdir}/usr/{lib,share/*}
- msg2 "Removing Haskell libs"
- rm -rvf ${pkgdir}/usr/lib
+ cp -a ${srcdir}/build/usr/share/man ${pkgdir}/usr/share/
+ cp -a ${srcdir}/build/usr/share/doc ${pkgdir}/usr/share/
+ find ${pkgdir}/usr/share -type f -exec chmod 644 {} \;
+ find ${pkgdir}/usr/share -type d -exec chmod 755 {} \;
}
diff --git a/~fauno/pandoc/SRCBUILD b/~fauno/pandoc/SRCBUILD
new file mode 100644
index 000000000..fd2172ffc
--- /dev/null
+++ b/~fauno/pandoc/SRCBUILD
@@ -0,0 +1,33 @@
+# Maintainer: Nicolas Reynolds <fauno@kiwwwi.com.ar>
+# Based on haskell-pandoc
+# custom variables
+_hkgname=pandoc
+_licensefile=COPYING
+
+# PKGBUILD options/directives
+pkgname=pandoc
+pkgver=1.9.1.2
+pkgrel=1
+pkgdesc='Conversion between markup formats (no Haskell libs)'
+url='http://johnmacfarlane.net/pandoc/'
+license=('GPL')
+arch=('any')
+makedepends=('ghc' 'sh' 'cabal-install')
+source=()
+
+# PKGBUILD functions
+build() {
+ mkdir -p ${srcdir}/{build,${_hkgname}-${pkgver}}
+ cd ${srcdir}/${_hkgname}-${pkgver}
+
+ HOME=${srcdir}/${_hkgname}-${pkgver} cabal --verbose=3 update
+
+ HOME=${srcdir}/${_hkgname}-${pkgver} cabal --verbose=3 fetch ${_hkgname}-${pkgver}
+}
+
+package() {
+ export PKGEXT=.src.tar.xz
+ export PKGDEST=${startdir}
+
+ mv ${srcdir}/${_hkgname}-${pkgver} ${pkgdir}/
+}