summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a4b0b3968129a33c0543166e0dfefca4d0ff03d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Anton Bazhenov <anton.bazhenov at gmail>
# Contributor: abstracity <quarkin@gmail.com>

pkgname=archmage
pkgver=0.4.2.1
pkgrel=2
pkgdesc="An extensible reader and decompiler for files in the CHM format"
arch=('any')
url="https://github.com/dottedmag/archmage"
license=('GPL')
depends=('python-pychm' 'python-beautifulsoup4' 'python-sgmllib3k')
makedepends=('python-setuptools')
optdepends=('lynx: for converting html to plain text'
            'elinks: for converting html to plain text'
            'htmldoc: for converting to single html and pdf formats'
            'mod_python: for apache/python integration')
backup=(etc/$pkgname/arch.conf)
source=($pkgname-$pkgver::https://github.com/dottedmag/$pkgname/archive/v$pkgver.tar.gz)
sha256sums=('SKIP')

package() {
  cd "${srcdir}"/$pkgname-$pkgver
  python setup.py install --root="${pkgdir}"
}