blob: edc2aaeac3645aa3128b84536f353f01920861cb (
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
|
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=indent
pkgver=2.2.10
pkgrel=3
pkgdesc="indenting utility"
url="http://www.gnu.org/software/indent/"
license="GPL"
depends=
makedepends="gettext-dev"
install=
subpackages="$pkgname-doc"
source="http://astromirror.uchicago.edu/gnu/$pkgname/$pkgname-$pkgver.tar.gz"
arch="all"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
# apply patches here
}
build() {
cd "$_builddir"
./configure --prefix=/usr \
--without-included-gettext \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install
}
md5sums="be35ea62705733859fbf8caf816d8959 indent-2.2.10.tar.gz"
|