blob: 363a352092c6629011afd0e0edc4b46837fd5f73 (
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
|
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
pkgname=deroff
pkgver=2.0
pkgrel=0
pkgdesc="Deroff removes roff constructs from documents for the purpose of indexing"
url="http://www.moria.de/~michael/deroff/"
arch="all"
license="GPL-2.0-or-later"
depends=""
makedepends=""
install=""
options="!check"
subpackages="$pkgname-doc"
source="http://www.moria.de/~michael/$pkgname/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"
prepare() {
default_prepare
cd "$builddir"
update_config_sub
}
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var
make
}
package() {
cd "$builddir"
make BINDIR="$pkgdir/usr/bin" \
MANDIR="$pkgdir/usr/share/man" install
}
sha512sums="8037977c4ea59ee7de1132dbd0a2197f36029d98a1ba1a39fc7d50e61fffc7e8ff092e5b0951e05a4c5653b8972959b8025135ce9c5220cbd230cd41ab3d07fd deroff-2.0.tar.gz"
|