aboutsummaryrefslogtreecommitdiffstats
path: root/testing/hessling-editor/APKBUILD
blob: 001c9726b0829ad34c96032400540605047f5024 (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
# Contributor:
# Maintainer:
pkgname=hessling-editor
_pkgname=THE
pkgver=3.3_rc1
_pkgver=3.3RC1
pkgrel=0
pkgdesc="Powerful text editor modelled on the XEDIT with the best features of Kedit."
url="http://hessling-editor.sourceforge.net/"
arch="all"
license="GPL"
depends=""
depends_dev=
makedepends="ncurses-dev regina-rexx-dev"
install=""
subpackages="$pkgname-doc"
source="http://downloads.sourceforge.net/$pkgname/$_pkgname-$_pkgver.tar.gz"

_builddir="$srcdir"/$_pkgname-$_pkgver
prepare() {
	local i
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

build() {
	cd "$_builddir"
	./configure --with-rexx=regina --with-ncurses --prefix=/usr || return 1
	make all || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
}

md5sums="e46b63e533bc458f6f701983b7f2150b  THE-3.3RC1.tar.gz"