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

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

package() {
	cd "$srcdir/$pkgname-$pkgver"
	make DESTDIR="$pkgdir" install
}

md5sums="f0fd4d7da574d4707e442285fd2d3b86  sed-4.2.1.tar.gz"