summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorL.G. Sarmiento2015-06-14 19:38:54 +0200
committerL.G. Sarmiento2015-06-14 19:38:54 +0200
commite525e444c60efd9001a1918cd8a1f7d7288c6a63 (patch)
tree6a6392789b57f2e4e2689e0895eea423d135ca5d
downloadaur-e525e444c60efd9001a1918cd8a1f7d7288c6a63.tar.gz
Initial import
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD35
2 files changed, 52 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..b2a2ca0a8dd
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = beamerscape-git
+ pkgdesc = Tools for integrating Inkscape and LaTeX beamer
+ pkgver = 0.5
+ pkgrel = 2
+ url = https://github.com/jbohren/beamerscape
+ arch = any
+ license = BSD
+ depends = texlive-publishers
+ depends = perl-xml-libxml
+ depends = inkscape
+ optdepends = cmake>=2.8.3: to generate a large number of presentations
+ provides = beamerscape
+ conflicts = beamerscape_hg
+ replaces = beamerscape_hg
+
+pkgname = beamerscape-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..d94fc84f078
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,35 @@
+# Maintainer: L.G. Sarmiento (Pico) <Luis.Sarmientop-ala-nuclear.lu.se>
+pkgname=beamerscape-git
+_pkgname=beamerscape
+pkgver=0.5
+pkgrel=2
+pkgdesc="Tools for integrating Inkscape and LaTeX beamer"
+arch=('any')
+url="https://github.com/jbohren/beamerscape"
+license=('BSD')
+depends=('texlive-publishers' 'perl-xml-libxml' 'inkscape')
+optdepends=('cmake>=2.8.3: to generate a large number of presentations')
+provides=('beamerscape')
+replaces=('beamerscape_hg')
+conflicts=('beamerscape_hg')
+_gitroot="https://github.com/jbohren/beamerscape.git"
+
+build() {
+ [ -d ${srcdir}/${pkgname} ] || mkdir -p ${srcdir}/${pkgname}
+ cd ${srcdir}/${pkgname}
+ git clone --depth 1 $_gitroot .
+}
+
+package() {
+
+ cd ${srcdir}/${pkgname}
+ [ -d ${pkgdir}/usr/bin ] || mkdir -p ${pkgdir}/usr/bin
+ install -m755 bin/export_overlays ${pkgdir}/usr/bin
+
+ [ -d ${pkgdir}/usr/share/apps/cmake/modules/ ] || mkdir -p ${pkgdir}/usr/share/apps/cmake/modules/
+ install -m644 cmake/*.cmake ${pkgdir}/usr/share/apps/cmake/modules
+
+ [ -d ${pkgdir}/usr/share/${_pkgname} ] || mkdir -p ${pkgdir}/usr/share/${_pkgname}
+ cp -R examples ${pkgdir}/usr/share/${_pkgname}/
+
+}