[arch-commits] Commit in minted/repos/community-any (PKGBUILD minted.install)

Alexander Rødseth arodseth at archlinux.org
Mon Aug 29 07:41:45 UTC 2016


    Date: Monday, August 29, 2016 @ 07:41:45
  Author: arodseth
Revision: 187875

archrelease: copy trunk to community-any

Added:
  minted/repos/community-any/PKGBUILD
    (from rev 187874, minted/trunk/PKGBUILD)
  minted/repos/community-any/minted.install
    (from rev 187874, minted/trunk/minted.install)

----------------+
 PKGBUILD       |   34 ++++++++++++++++++++++++++++++++++
 minted.install |   13 +++++++++++++
 2 files changed, 47 insertions(+)

Copied: minted/repos/community-any/PKGBUILD (from rev 187874, minted/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2016-08-29 07:41:45 UTC (rev 187875)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
+# Contributor: Markus Härer <markus.haerer at gmx.net>
+# Contributor: robotanarchy
+# Contributor: Philipp Trommler <aur at philipp-trommler.me>
+
+pkgname=minted
+pkgver=2.4
+pkgrel=2
+pkgdesc='Syntax highlighted source code for LaTeX'
+url='https://github.com/gpoore/minted'
+arch=('any')
+license=('LPPL')
+depends=('texlive-latexextra' 'pygmentize' 'fvextra')
+source=("$pkgname-$pkgver.tgz::https://github.com/gpoore/minted/archive/v${pkgver}.tar.gz"
+        'minted.install')
+install=minted.install
+sha256sums=('fc991510f400d2cac284347768eb5a938a659aff9865d211c74f206ef5758234'
+            '4e54230bc50a4efaebd03e0d59518dcb5e0695e77af97ce0eb5468bfa4ff8719')
+
+build() {
+  cd "$pkgname-$pkgver/source"
+
+  yes | tex "$pkgname.ins"
+}
+
+package() {
+  cd "$pkgname-$pkgver/source"
+
+  install -Dm644 "$pkgname.sty" "$pkgdir/usr/share/texmf/tex/latex/$pkgname/$pkgname.sty"
+  install -Dm644 "$pkgname.pdf" "$pkgdir/usr/share/doc/$pkgname/$pkgname.pdf"
+}
+
+# vim:set ts=2 sw=2 et:

Copied: minted/repos/community-any/minted.install (from rev 187874, minted/trunk/minted.install)
===================================================================
--- minted.install	                        (rev 0)
+++ minted.install	2016-08-29 07:41:45 UTC (rev 187875)
@@ -0,0 +1,13 @@
+post_install() {
+  texconfig-sys rehash
+}
+
+post_upgrade() {
+  texconfig-sys rehash
+}
+
+post_remove() {
+  texconfig-sys rehash
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list