blob: ef0f26a36b52b1a3b7b0c7390ff273e6689dc0ea (
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
|
# Contributor: Danilo Godec <danilo.godec@agenda.si>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=joe
pkgver=4.6
pkgrel=2
pkgdesc="Full featured terminal-based screen editor"
url="https://joe-editor.sourceforge.net/"
arch="all"
license="GPL"
makedepends="ncurses-dev"
subpackages="$pkgname-doc"
source="https://downloads.sourceforge.net/project/joe-editor/JOE%20sources/$pkgname-$pkgver/$pkgname-$pkgver.tar.gz"
prepare() {
default_prepare
update_config_sub
}
build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc
make
}
check() {
make check
}
package() {
make DESTDIR="$pkgdir" install
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
sha512sums="3dd64a994fb3d352a12bf027ef16d57d14ac2577fd63fb6b6e25cae46052befaa7c15dc029bff2f8c3275df90f0343bd46313601055d97277ea4540e109fbe82 joe-4.6.tar.gz"
|