blob: 70488bda922af7e1a4371b4e2b472c82605af9ea (
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
26
27
28
|
# Maintainer: AndrĂ¡s Wacha < awacha at gmail dot com >
_pkgname=sphinxcontrib-pdfembed
pkgname=python-${_pkgname}-git
pkgver=r17.d75fb37
pkgrel=2
pkgdesc='Sphinx extension to embed a pdf file in a webpage'
url="https://github.com/SuperKogito/sphinxcontrib-pdfembed"
arch=('any')
license=('BSD')
makedepends=('git' 'python-setuptools')
depends=('python-sphinx')
provides=("python-sphinxcontrib-pdfembed")
conflicts=("python-sphinxcontrib-pdfembed")
source=("${_pkgname}::git+${url}.git")
md5sums=('SKIP')
pkgver() {
cd "${srcdir}/${_pkgname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "${srcdir}/${_pkgname}"
python setup.py install --root="$pkgdir/" --optimize=1
}
# vim:set ts=2 sw=2 et:
|