blob: 0e30f4a044088d568e1e57fafc71cd709aa693c6 (
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# Maintainer: Kai Muenz <kai+archlinux@muenz.net>
_pkgname=odr-mmbtools-doc
pkgname=$_pkgname
pkgver=1.0
pkgrel=1
pkgdesc="Opendigitalradio Documentation"
arch=('i686' 'x86_64' 'armv7h' 'aarch64')
url="https://github.com/Opendigitalradio/mmbtools-doc"
license=('GPL')
groups=('ODR')
## See below
#makedepends=('texlive-bin' 'texlive-formatsextra' 'texlive-latexextra' 'texlive-fontsextra' 'texlive-pictures' 'texlive-science')
checkdepends=()
optdepends=()
provides=("$_pkgname" "$pkgname")
conflicts=("$_pkgname")
## See below
#source=("$_pkgname::git+$url.git")
source=(http://opendigitalradio.github.io/mmbtools-doc/mmbtools.pdf)
md5sums=('SKIP')
## latex is just being stupid, i cant get it to work and no documentation. Downloading the autogenerated pdf instead
prepare() {
cd "$srcdir"
if [ ! -d "$_pkgname" ]; then
mkdir "$_pkgname"
fi
if [ ! -e "$_pkgname"/mmbtools.pdf ]; then
cp "$srcdir/mmbtools.pdf" "$srcdir"/"$_pkgname"/mmbtools.pdf
fi
}
## Skipping due to above
#build() {
# cd "$_pkgname"
# make
#}
package() {
cd "$_pkgname"
install -Dm644 mmbtools.pdf -t "${pkgdir}/usr/share/doc/$pkgname"
}
|