diff options
author | Ralph Amissah | 2015-06-09 04:59:58 -0400 |
---|---|---|
committer | Ralph Amissah | 2015-06-09 04:59:58 -0400 |
commit | 7e4c7ce3076e2884564b2f520d6ea95d42d4f5a1 (patch) | |
tree | c14ce99d52f04308b00908b29376c835482148ac | |
download | aur-7e4c7ce3076e2884564b2f520d6ea95d42d4f5a1.tar.gz |
sisu 7.1.5
-rw-r--r-- | .SRCINFO | 33 | ||||
-rw-r--r-- | .gitignore | 6 | ||||
-rw-r--r-- | PKGBUILD | 52 |
3 files changed, 91 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 00000000000..9cd4ebbf5f0 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,33 @@ +pkgbase = sisu + pkgdesc = documents - structuring, publishing in multiple formats & search + pkgver = 7.1.5 + pkgrel = 1 + url = http://sisudoc.org + arch = any + license = GPL3 + makedepends = ruby + depends = ruby + optdepends = zip: epub & odf:odt files + optdepends = unzip: epub & odf:odt files (not required) + optdepends = tree: report directory structure + optdepends = imagemagick: image support + optdepends = graphicsmagick: image support + optdepends = texlive-core: pdf + optdepends = texlive-latexextra: pdf + optdepends = texlive-fontsextra: pdf + optdepends = texlive-langcjk: pdf Chinese Japanese Korean (large optional dependency, comment out if not needed) + optdepends = sqlite: search, populate sqlite db + optdepends = ruby-sqlite3: search, populate sqlite db + optdepends = postgresql: search, populate postgresql db + optdepends = ruby-pg: search, populate postresql db + optdepends = ruby-fcgi: search, sample search form + optdepends = qrencode: qrcodes based on document metadata + conflicts = sisu-gem + conflicts = sisu-git + conflicts = sisu-git-gem + options = !emptydirs + source = http://www.sisudoc.org/sisu/archive/pool/main/s/sisu/sisu_7.1.5.orig.tar.xz + sha256sums = adf5286d1a5504c80f3486ae3ee2bb5dfbcb6987505a4f3bb4617795b50ba299 + +pkgname = sisu + diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000000..f285a5b96dc --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ +# git ls-files --others --exclude-from=.git/info/exclude +* +.* +!.gitignore +!PKGBUILD +!.SRCINFO diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 00000000000..6a9c2d48547 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,52 @@ +# Maintainer: Ralph Amissah <ralph.amissah@gmail.com> +# sisu +# SET pkgver & sha256sums +pkgname=('sisu') +pkgdesc="documents - structuring, publishing in multiple formats & search" +pkgver=7.1.5 +pkgrel=1 +#source=("http://ftp.de.debian.org/debian/pool/main/s/sisu/${pkgname}_${pkgver}.orig.tar.xz") +source=("http://www.sisudoc.org/sisu/archive/pool/main/s/sisu/${pkgname}_${pkgver}.orig.tar.xz") +#source=("http://www.jus.uio.no/sisu/archive/pool/main/s/sisu/${pkgname}_${pkgver}.orig.tar.xz") +sha256sums=('adf5286d1a5504c80f3486ae3ee2bb5dfbcb6987505a4f3bb4617795b50ba299') +arch=('any') +url="http://sisudoc.org" +license=('GPL3') +depends=('ruby') +makedepends=('ruby') +optdepends=( + 'zip: epub & odf:odt files' + 'unzip: epub & odf:odt files (not required)' + 'tree: report directory structure' + 'imagemagick: image support' + 'graphicsmagick: image support' + 'texlive-core: pdf' + 'texlive-latexextra: pdf' + 'texlive-fontsextra: pdf' + 'texlive-langcjk: pdf Chinese Japanese Korean (large optional dependency, comment out if not needed)' + 'sqlite: search, populate sqlite db' + 'ruby-sqlite3: search, populate sqlite db' + 'postgresql: search, populate postgresql db' + 'ruby-pg: search, populate postresql db' + 'ruby-fcgi: search, sample search form' + 'qrencode: qrcodes based on document metadata' + ) +conflicts=('sisu-gem' 'sisu-git' 'sisu-git-gem') +options=(!emptydirs) +install= +changelog= +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + msg "Configuring source..." + local _rblib="$(ruby -e"require 'rbconfig';print RbConfig::CONFIG['vendorlibdir'].gsub(/^\//,'')")" + ruby ./setup.rb config --prefix=${pkgdir}/usr \ + --siterubyver=${pkgdir}/${_rblib} \ + --sysconfdir=${pkgdir}/etc + msg "Running setup..." + ruby ./setup.rb setup +} +package() { + msg "Installing files..." + cd "${srcdir}/${pkgname}-${pkgver}" + ruby ./setup.rb install +} |