summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Husmann2016-01-13 20:53:56 +0100
committerStefan Husmann2016-01-13 20:53:56 +0100
commit260dc4387997ae26f65fe587821f1ffa55767097 (patch)
tree571f7c2d0996924a4fac2f7eabbd6bc8c7661d63
downloadaur-260dc4387997ae26f65fe587821f1ffa55767097.tar.gz
Initial upload
-rw-r--r--.SRCINFO23
-rw-r--r--PKGBUILD31
-rw-r--r--skribilo.install22
3 files changed, 76 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..e3c1cd26f7a
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,23 @@
+# Generated by mksrcinfo v8
+# Wed Jan 13 19:53:10 UTC 2016
+pkgbase = skribilo
+ pkgdesc = The Ultimate Document Programming Framework
+ pkgver = 0.9.3
+ pkgrel = 1
+ url = http://www.nongnu.org/skribilo/
+ install = skribilo.install
+ arch = any
+ license = GPL
+ makedepends = guile-reader-git
+ makedepends = ploticus
+ depends = bash
+ optdepends = texlive-core: for postscript or pdf output
+ optdepends = lout: for postscript or pdf output
+ optdepends = ploticus: for pie-charts
+ optdepends = guile-lib: to be able to use the RSS-2-reader
+ options = !makeflags
+ source = http://download.savannah.gnu.org/releases/skribilo/skribilo-0.9.3.tar.gz
+ md5sums = e7623d5a7adbaf302bb7e63b7ab5101a
+
+pkgname = skribilo
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..b54d3c2ae83
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
+pkgname=skribilo
+pkgver=0.9.3
+pkgrel=1
+pkgdesc="The Ultimate Document Programming Framework"
+url="http://www.nongnu.org/skribilo/"
+arch=('any')
+license=('GPL')
+depends=('bash')
+makedepends=('guile-reader-git' 'ploticus')
+optdepends=('texlive-core: for postscript or pdf output'
+ 'lout: for postscript or pdf output'
+ 'ploticus: for pie-charts'
+ 'guile-lib: to be able to use the RSS-2-reader')
+source=("http://download.savannah.gnu.org/releases/$pkgname/$pkgname-$pkgver.tar.gz")
+md5sums=('e7623d5a7adbaf302bb7e63b7ab5101a')
+options=('!makeflags')
+install=skribilo.install
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+ ./configure --prefix=/usr
+ make
+}
+package() {
+ cd $srcdir/$pkgname-$pkgver
+ make DESTDIR=$pkgdir install
+ rm $pkgdir/usr/share/info/*.png
+ install -d $pkgdir/usr/share/doc/$pkgname
+ find $srcdir/ -name "*.png" -exec install -m644 {} $pkgdir/usr/share/doc/$pkgname \;
+}
diff --git a/skribilo.install b/skribilo.install
new file mode 100644
index 00000000000..9230067dbb9
--- /dev/null
+++ b/skribilo.install
@@ -0,0 +1,22 @@
+infodir=usr/share/info
+filelist=(skribilo.info)
+
+post_install() {
+ [[ -x usr/bin/install-info ]] || return 0
+ for file in "${filelist[@]}"; do
+ install-info "$infodir/$file.gz" "$infodir/dir" 2> /dev/null
+ done
+}
+
+post_upgrade() {
+ post_install "$1"
+}
+
+pre_remove() {
+ [[ -x usr/bin/install-info ]] || return 0
+ for file in "${filelist[@]}"; do
+ install-info --delete "$infodir/$file.gz" "$infodir/dir" 2> /dev/null
+ done
+}
+
+# vim:set ts=2 sw=2 et: