aboutsummaryrefslogtreecommitdiffstats
path: root/main/joe/APKBUILD
blob: 2533287fba172523b109bef956f6ad8674e0a4a6 (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
# Contributor: Danilo Godec <danilo.godec@agenda.si>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=joe
pkgver=4.3
pkgrel=0
pkgdesc="Full featured terminal-based screen editor"
url="http://joe-editor.sourceforge.net/"
arch="all"
license="GPL"
depends=""
makedepends="ncurses-dev"
subpackages="$pkgname-doc"
source="http://downloads.sourceforge.net/project/joe-editor/JOE%20sources/$pkgname-$pkgver/$pkgname-$pkgver.tar.gz"

builddir="$srcdir"/$pkgname-$pkgver

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		|| return 1
	make || return 1
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
	install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}

md5sums="5a167f5e88e62c77bb42b0145d72c466  joe-4.3.tar.gz"
sha256sums="985d6a8f943a06e64165996c24d7fecaeae8c59efb52998a49b3fb4b8a3e26e1  joe-4.3.tar.gz"
sha512sums="a711ce129518863856b8f581ac7acdd7661f5e571cb77c5411317e0db0344c9ba44e73ec2ca9a307e639170a7914d53352eebcd00a33c9270809551f12376e69  joe-4.3.tar.gz"