aboutsummaryrefslogtreecommitdiffstats
path: root/extra/sed/APKBUILD
blob: 99ba1e6f8b6be366bd94b70f29f938c18e1b7529 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=sed
pkgver=4.2.1
pkgrel=0
subpackages="$pkgname-doc"
pkgdesc="GNU stream editor"
url="http://www.gnu.org/software/sed"
license="GPL"
depends=
makedepends=""
install="$pkgname.post-deinstall"
source="ftp://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.gz
	$install"

build() { 
	cd "$srcdir/$pkgname-$pkgver"
	./configure --prefix=/usr \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--disable-i18n \
		--disable-nls
	make || return 1
	make DESTDIR="$pkgdir" install
}

md5sums="f0fd4d7da574d4707e442285fd2d3b86  sed-4.2.1.tar.gz
b84506d253e04db3c5af9016fead45a3  sed.post-deinstall"