blob: 98e7766458877f03151d9473b8e0c2429c2b3e74 (
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
|
# Maintainer: Jamie Beardslee <beardsleejamie@gmail.com>
pkgname=gnu-c-manual
pkgver=0.2.5
pkgrel=1
arch=(any)
pkgdesc="GNU C Reference Manual"
url="https://www.gnu.org/software/gnu-c-manual/"
license=('FDL-1.3')
makedepends=('texinfo')
source=("ftp://ftp.gnu.org/gnu/gnu-c-manual/gnu-c-manual-$pkgver.tar.gz")
md5sums=('4fb89ba63d0c80a1f2265148a75dcc17')
build() {
cd "${srcdir}/gnu-c-manual-${pkgver}"
make gnu-c-manual.info gnu-c-manual.html
}
package() {
cd "${srcdir}/gnu-c-manual-${pkgver}"
mkdir -p "${pkgdir}/usr/share/info" "${pkgdir}/usr/share/doc/gnu-c-manual"
install -D -m644 gnu-c-manual.info "${pkgdir}/usr/share/info"
install -D -m644 gnu-c-manual.html "${pkgdir}/usr/share/doc/gnu-c-manual"
}
|