blob: e8471ba08c1e465f254531cd63c56d4d1b6365c2 (
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
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=texinfo
pkgver=6.3
pkgrel=0
pkgdesc="Utilities to work with and produce manuals, ASCII text, and on-line documentation from a single source file"
url="http://www.gnu.org/software/texinfo/"
arch="all"
license='GPL3+'
depends="perl"
makedepends="ncurses-dev perl-dev"
subpackages="$pkgname-doc"
source="ftp://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.xz"
builddir="$srcdir/$pkgname-$pkgver"
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
|| return 1
make || return 1
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir"/ install || return 1
rm -f "$pkgdir"/usr/share/info/dir
gzip "$pkgdir"/usr/share/info/*
rm -rf "$pkgdir"/usr/lib/charset.alias
rmdir -p "$pkgdir"/usr/lib 2>/dev/null
return 0
}
md5sums="32baefe5c7080dfb512a4eac5ce67b2a texinfo-6.3.tar.xz"
sha256sums="246cf3ffa54985118ec2eea2b8d0c71b92114efe6282c2ae90d65029db4cf93a texinfo-6.3.tar.xz"
sha512sums="ef6c5878d9db497d7963bd9138418b30c39a5605c215bf2f4e8f1f083d93c3c99f8c459aa675f7da3b78da6189cb6bbf3cf19a2ee1d52e569de2f6ce82762bf4 texinfo-6.3.tar.xz"
|