mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-03 19:27:15 +08:00
Added new app: dblatex, version 0.3
This commit is contained in:
parent
d54d8c8993
commit
1bfbeb14df
25
dblatex/PKGBUILD
Normal file
25
dblatex/PKGBUILD
Normal file
@ -0,0 +1,25 @@
|
||||
#
|
||||
# Chakra Packages for Chakra, part of chakra-project.org
|
||||
#
|
||||
# contributor (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
|
||||
|
||||
# include global config
|
||||
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||
|
||||
pkgname=dblatex
|
||||
pkgver=0.3
|
||||
pkgrel=1
|
||||
pkgdesc="DocBook (XML and SGML) to DVI, PDF, PostScript converter using latex"
|
||||
arch=(any)
|
||||
url="http://dblatex.sourceforge.net/"
|
||||
license=("GPL")
|
||||
depends=('libxslt' 'texlive-core' 'texlive-htmlxml' 'docbook-xsl' 'docbook-xml' 'python2' 'latex-epic'
|
||||
'texlive-latexextra')
|
||||
source=("http://downloads.sourceforge.net/project/dblatex/dblatex/$pkgname-$pkgver/$pkgname-$pkgver.tar.bz2")
|
||||
md5sums=('7de6bf72b8b2934169ce0ec911e966ed')
|
||||
|
||||
build() {
|
||||
cd ${srcdir}/${pkgname}-${pkgver}
|
||||
python2 setup.py install --root ${pkgdir} --catalogs=/etc/xml/docbook
|
||||
sed -i -e "s,${pkgdir},," -e "s,#!/usr/bin/env python,#!/usr/bin/env python2," ${pkgdir}/usr/bin/dblatex
|
||||
}
|
Loading…
Reference in New Issue
Block a user