summaryrefslogtreecommitdiff
path: root/pcr/culmus-latex
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/culmus-latex')
-rw-r--r--pcr/culmus-latex/PKGBUILD22
-rw-r--r--pcr/culmus-latex/culmus-latex.install22
2 files changed, 44 insertions, 0 deletions
diff --git a/pcr/culmus-latex/PKGBUILD b/pcr/culmus-latex/PKGBUILD
new file mode 100644
index 000000000..251ba0518
--- /dev/null
+++ b/pcr/culmus-latex/PKGBUILD
@@ -0,0 +1,22 @@
+#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
+}