summaryrefslogtreecommitdiff
path: root/pcr/culmus-latex
diff options
context:
space:
mode:
authoraurelien <aurelien@cwb.io>2013-09-23 10:33:22 +0200
committeraurelien <aurelien@cwb.io>2013-09-23 10:33:22 +0200
commit2735c9d273c54b555681f30f5c685998fed7b484 (patch)
treef8172dbea44d1c4751a99a62fb236a14c9d2dc20 /pcr/culmus-latex
parentd78a32a6ccb8663a62a093b54e947e2efc840fe0 (diff)
parent97f65e06566f3bb15bc7395624017b8e6ca0d043 (diff)
downloadabslibre-2735c9d273c54b555681f30f5c685998fed7b484.tar.gz
abslibre-2735c9d273c54b555681f30f5c685998fed7b484.tar.bz2
abslibre-2735c9d273c54b555681f30f5c685998fed7b484.zip
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'pcr/culmus-latex')
-rw-r--r--pcr/culmus-latex/PKGBUILD21
-rw-r--r--pcr/culmus-latex/culmus-latex.install22
2 files changed, 43 insertions, 0 deletions
diff --git a/pcr/culmus-latex/PKGBUILD b/pcr/culmus-latex/PKGBUILD
new file mode 100644
index 000000000..8562f2fb5
--- /dev/null
+++ b/pcr/culmus-latex/PKGBUILD
@@ -0,0 +1,21 @@
+#Contributor (Arch): Dmitry Batenkov <dima dot batenkov at gmail dot com>
+# Maintainer (Parabola): Alon Ivtsan <alonivtsan@lavabit.com>
+# taken from https://aur.archlinux.org/packages/culmus-latex/
+
+pkgname=culmus-latex
+pkgver=0.7.1
+pkgrel=1
+pkgdesc="Culmus Hebrew fonts for LaTeX"
+arch=('i686' 'x86_64')
+url="http://ivritex.sourceforge.net/"
+depends=('culmus' 'texlive-core' 'texlive-bin')
+install=culmus-latex.install
+license=('GPL')
+source=(http://downloads.sourceforge.net/project/ivritex/culmus-latex/culmus-latex-0.7/culmus-latex-0.7-r1.tar.gz)
+md5sums=('0c6f6d5b9e7a0d6ba59fc55680ed48a5')
+
+build(){
+ cd ${srcdir}/${pkgname}-0.7-r1 || return 1
+ mkdir -p $pkgdir/usr/share/texmf || return 1
+ make DESTDIR=$pkgdir pkginstall
+}
diff --git a/pcr/culmus-latex/culmus-latex.install b/pcr/culmus-latex/culmus-latex.install
new file mode 100644
index 000000000..4c6529865
--- /dev/null
+++ b/pcr/culmus-latex/culmus-latex.install
@@ -0,0 +1,22 @@
+
+## arg 1: the new package version
+#pre_install() {
+ # do something here
+#}
+
+## arg 1: the new package version
+post_install() {
+ mktexlsr
+ updmap-sys --enable Map=culmus.map
+}
+
+post_upgrade() {
+ mktexlsr
+ updmap-sys --enable Map=culmus.map
+}
+
+## arg 1: the old package version
+post_remove() {
+ mktexlsr
+ updmap-sys --disable culmus.map
+}