diff options
author | Alon Ivtsan <alonivtsan@lavabit.com> | 2013-07-16 03:14:47 +0300 |
---|---|---|
committer | Alon Ivtsan <alonivtsan@lavabit.com> | 2013-07-16 03:14:47 +0300 |
commit | 381adad7329e9884552152239162d402542d181f (patch) | |
tree | ae65a80730a5faa0c0a3edae6671ce450a8add98 /pcr/culmus-latex | |
parent | 54dcfb85d14c150b312cd932aed940c19bb05251 (diff) |
Adding culmus-latex PKGBUILD and install file
Diffstat (limited to 'pcr/culmus-latex')
-rw-r--r-- | pcr/culmus-latex/PKGBUILD | 22 | ||||
-rw-r--r-- | pcr/culmus-latex/culmus-latex.install | 22 |
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 +} |