diff options
Diffstat (limited to 'pcr')
-rw-r--r-- | pcr/czmq/PKGBUILD | 27 | ||||
-rw-r--r-- | pcr/filemq/PKGBUILD | 34 | ||||
-rw-r--r-- | pcr/fsniper/PKGBUILD | 32 | ||||
-rw-r--r-- | pcr/pandoc/PKGBUILD | 51 | ||||
-rw-r--r-- | pcr/pandoc/SRCBUILD | 8 | ||||
-rw-r--r-- | pcr/wikipediafs/PKGBUILD | 19 | ||||
-rw-r--r-- | pcr/youtube-dl-current/PKGBUILD | 8 |
7 files changed, 152 insertions, 27 deletions
diff --git a/pcr/czmq/PKGBUILD b/pcr/czmq/PKGBUILD new file mode 100644 index 000000000..2cb94125c --- /dev/null +++ b/pcr/czmq/PKGBUILD @@ -0,0 +1,27 @@ +# Contributor: Brian Knox <taotetek at gmail.com> +# Maintainer: Brian Knox <taotetek at gmail.com> +pkgname=czmq +pkgver=2.0.2 +pkgrel=1 +pkgdesc="High level C API for ZeroMQ" +arch=(i686 x86_64) +url="http://czmq.zeromq.org/" +license=('LGPL') +depends=('zeromq') +makedepends=('asciidoc' 'xmlto') +options=(!libtool) +source=(http://download.zeromq.org/${pkgname}-${pkgver}.tar.gz) + +sha1sums=('9a78ea2bf2100863eefdd0512c77486ebd1e2587') +sha256sums=('75115c2a89facf7f706bc24d0cd09ad0cc4f173a6b6b242743a7ed4ffa7a791b') + +build() { + cd "$srcdir/${pkgname}-${pkgver}" + ./configure --prefix=/usr + make +} + +package() { + cd "$srcdir/${pkgname}-${pkgver}" + make DESTDIR="$pkgdir/" install +} diff --git a/pcr/filemq/PKGBUILD b/pcr/filemq/PKGBUILD new file mode 100644 index 000000000..57f5eb69d --- /dev/null +++ b/pcr/filemq/PKGBUILD @@ -0,0 +1,34 @@ +pkgname=filemq +pkgver=v1.0a.r124.gd2d6274 +pkgrel=1 +pkgdesc="Chunked, flow-controlled, restartable, cancellable, async, multicast file transfer ØMQ protocol" +url="https://github.com/zeromq/filemq" +license=('GPL3' 'LGPL3') +depends=('zeromq' 'czmq') +makedepends=('git') +arch=('i686' 'x86_64') + +source=("git+https://github.com/zeromq/filemq#branch=master") +sha256sums=('SKIP') + +pkgver() { + cd "${srcdir}/${pkgname}" + git describe --always| sed -E 's/([^-]*-g)/r\1/;s/-/./g' +} + +prepare() { + cd "${srcdir}/${pkgname}" + + ./autogen.sh +} + +build() { + cd "${srcdir}/${pkgname}" + ./configure --prefix=/usr + make +} + +package() { + cd "${srcdir}/${pkgname}" + make prefix=${pkgdir}/usr install +} diff --git a/pcr/fsniper/PKGBUILD b/pcr/fsniper/PKGBUILD new file mode 100644 index 000000000..bf7e3a6c3 --- /dev/null +++ b/pcr/fsniper/PKGBUILD @@ -0,0 +1,32 @@ +# Initial Contributor: andrewy +# Actual Contributor: Luca Cesari <luca.cesari@bewq.org> + +arch=(i686 x86_64) +pkgname=fsniper +pkgver=1.3.1 +pkgrel=2 +pkgdesc="Daemon to run scripts based on changes in files monitored by inotify" +url="http://projects.l3ib.org/fsniper/" +license="GPL3" +depends=('pcre' 'file') +source=(http://projects.l3ib.org/fsniper/files/$pkgname-$pkgver.tar.gz) +md5sums=('62f30bb4b00f9499499d83a30281f10f') + +build() { + cd ${srcdir}/$pkgname-$pkgver + + ./configure --prefix=/usr + make +} + +package() { + cd ${srcdir}/$pkgname-$pkgver + + make DESTDIR=${pkgdir} install + + install -m644 -D ${srcdir}/$pkgname-$pkgver/README \ + ${pkgdir}/usr/share/${pkgname}/README + install -m644 -D ${srcdir}/$pkgname-$pkgver/example.conf \ + ${pkgdir}/usr/share/${pkgname}/example.conf + +} diff --git a/pcr/pandoc/PKGBUILD b/pcr/pandoc/PKGBUILD index 0d2f2d8ea..49fcabcfe 100644 --- a/pcr/pandoc/PKGBUILD +++ b/pcr/pandoc/PKGBUILD @@ -5,36 +5,29 @@ pkgname=pandoc-static _pkgname=pandoc -pkgver=1.12 +pkgver=1.12.1 pkgrel=1 pkgdesc='Conversion between markup formats (no Haskell libs)' url='http://johnmacfarlane.net/pandoc/' license=('GPL') arch=('i686' 'x86_64') +# Needed for pandoc-citeproc +depends=('icu>=52' 'icu<=53') makedepends=('ghc' 'sh' 'cabal-install' 'alex' 'happy') options=(strip !makeflags !distcc !emptydirs) -#source=(https://repo.parabolagnulinux.org/other/${_pkgname}-${pkgver}-$pkgrel-any.src.tar.xz{,.sig} source=(https://repo.parabolagnulinux.org/other/${_pkgname}-${pkgver}-1-any.src.tar.xz{,.sig} SRCBUILD) -# citeproc-hs-pre-0.3.7.patch) replaces=('pandoc') provides=('pandoc') optdepends=('texlive-most: for pdf creation') -md5sums=('3d5f23060cad2ff29ba2df5651e92f8a' - 'SKIP' - 'c2e9f9b880468455b6e6a7f9ba7308e8') # PKGBUILD functions build() { - mkdir -p ${srcdir}/{build,${_pkgname}-${pkgver}} - cd ${srcdir}/${_pkgname}-${pkgver} + mkdir -p ${srcdir}/{build,${_pkgname}-${pkgver}} + cd ${srcdir}/${_pkgname}-${pkgver} -# Patches from the next citeproc-hs release -# These are needed because 0.3.6 with embed_data_files is broken -# darcs diff --from-tag=0.3.6 -# pushd ${srcdir}/${_pkgname}-${pkgver}/citeproc-hs-0.3.6 -# patch -Np1 -i ${srcdir}/citeproc-hs-pre-0.3.7.patch -# popd +# pandoc-citeproc needs hsb2hs + export PATH=${srcdir}/build/usr/bin:$PATH while read _hkpkg; do # Skip already built @@ -47,23 +40,29 @@ build() { case $_hkpkg in $_pkgname-$pkgver) HOME=${srcdir}/${_pkgname}-${pkgver} \ - cabal configure --flags='-library' \ - --prefix=/usr \ + cabal configure --prefix=/usr \ --libdir=${srcdir}/build/usr/lib -v HOME=${srcdir}/${_pkgname}-${pkgver} \ cabal build + + HOME=${srcdir}/${_pkgname}-${pkgver} \ + cabal register --inplace ;; - citeproc-hs-*) + pandoc-citeproc*) + HOME=${srcdir}/${_pkgname}-${pkgver} \ + cabal configure --flags='small_base embed_data_files bibutils hexpat unicode_collation' \ + --libdir=${srcdir}/build/usr/lib \ + --prefix=/usr -v + HOME=${srcdir}/${_pkgname}-${pkgver} \ - cabal install --flags='embed_data_files' \ - --prefix=${srcdir}/build/usr -v + cabal build ;; *) HOME=${srcdir}/${_pkgname}-${pkgver} \ - cabal install --prefix=${srcdir}/build/usr + cabal install --prefix=${srcdir}/build/usr --flags="embed_data_files" ;; esac @@ -77,11 +76,16 @@ package() { runghc Setup.hs copy --destdir=${pkgdir}/ + cd ${srcdir}/${_pkgname}-${pkgver}/pandoc-citeproc* + runghc Setup.hs copy --destdir=${pkgdir}/ + # For some reason the library is installed anyway # Remove all files and !emptydirs takes care of the rest msg2 "Removing lib files..." find ${pkgdir} -iname lib -print0 | xargs -0 rm -rvf + cp -av ${srcdir}/build/usr/bin/* ${pkgdir}/usr/bin/ + # EC is unfree and makes Parabola TeXLive cry # besides, it's unneeded sed "/fontenc/d" -i ${pkgdir}/usr/share/${_pkgname}-${pkgver}/data/templates/default.latex @@ -90,6 +94,9 @@ package() { find ${pkgdir}/usr/share -type d -exec chmod 755 {} \; msg2 "Installing licenses" - install -d ${pkgdir}/usr/share - cp -rv ${srcdir}/build/usr/share/doc ${pkgdir}/usr/share/ + install -d ${pkgdir}/usr/share/licenses + cp -rv ${srcdir}/build/usr/share/doc/* ${pkgdir}/usr/share/licenses/ } +sha256sums=('4cbeb1b112985961ff78b9baaa4cca3b24e5996c243c790fa00bbe44052cd418' + 'SKIP' + '25fae3ded388733915dbaca9970ac5f5ef53883410564305bd225a950e5951db') diff --git a/pcr/pandoc/SRCBUILD b/pcr/pandoc/SRCBUILD index f822bb1a0..242356c89 100644 --- a/pcr/pandoc/SRCBUILD +++ b/pcr/pandoc/SRCBUILD @@ -2,7 +2,7 @@ # Based on haskell-pandoc pkgname=pandoc -pkgver=1.12 +pkgver=1.12.1 pkgrel=1 pkgdesc='Conversion between markup formats (no Haskell libs)' url='http://johnmacfarlane.net/pandoc/' @@ -21,12 +21,14 @@ build() { cabal --verbose=3 update HOME=${srcdir}/${pkgname}-${pkgver} \ - cabal --verbose=3 fetch file-embed ${pkgname}-${pkgver} + cabal --verbose=3 fetch hs-bibutils network hexpat text text-icu hsb2hs ${pkgname}-${pkgver} pandoc-citeproc msg2 "Getting the dependency build order" # Ignore the cabal messages HOME=${srcdir}/${pkgname}-${pkgver} \ - cabal install --dry-run file-embed ${pkgname}-${pkgver} | grep "\-[0-9]\+" >>BUILDORDER + cabal install --flags="embed_data_files bibutils hexpat unicode_collation" --dry-run hsb2hs ${pkgname}-${pkgver} pandoc-citeproc | + grep "\-[0-9]\+" | + tee BUILDORDER } package() { diff --git a/pcr/wikipediafs/PKGBUILD b/pcr/wikipediafs/PKGBUILD new file mode 100644 index 000000000..d70dd2f6f --- /dev/null +++ b/pcr/wikipediafs/PKGBUILD @@ -0,0 +1,19 @@ +# Maintainer: Antoine Lubineau <antoine@lubignon.info> + +pkgname=wikipediafs +pkgver=0.4 +pkgrel=2 +pkgdesc="Mount Wikipedia/Mediawiki sites locally via FUSE" +arch=('any') +url="http://wikipediafs.sourceforge.net/" +license=('GPL') +depends=('fuse' 'python2-fuse') +source=("http://downloads.sourceforge.net/wikipediafs/$pkgname-$pkgver.tar.gz") +sha256sums=('8c9de78dd92354877a8d604f3128238f10cd6c06d594ddc23c06552cc7c731f1') + +package() { + cd "$srcdir/$pkgname-$pkgver" + python2 setup.py install --root="$pkgdir/" --optimize=1 +} + +# vim:set ts=2 sw=2 et: diff --git a/pcr/youtube-dl-current/PKGBUILD b/pcr/youtube-dl-current/PKGBUILD index 1cb5b8405..9c38c18cb 100644 --- a/pcr/youtube-dl-current/PKGBUILD +++ b/pcr/youtube-dl-current/PKGBUILD @@ -5,7 +5,7 @@ pkgname=youtube-dl-current _pkgname=youtube-dl provides=(youtube-dl) -pkgver=2013.10.18.2 +pkgver=2013.10.30 pkgrel=1 pkgdesc="A small command-line program to download videos from YouTube.com and a few more sites" arch=('any') @@ -27,5 +27,9 @@ package() { "${pkgdir}/usr/share/bash-completion/completions/youtube-dl" install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE" } -md5sums=('dd86912d1bf1a7a550df06e59c436063' +md5sums=('cf6169efa73e6d546221eff89937bb85' + 'SKIP') +md5sums=('5b518f25385ff86f8d8b0e3db085f7c6' + 'SKIP') +md5sums=('86891d5bf22d2a45fb3d1430cb1bfcca' 'SKIP') |