aboutsummaryrefslogtreecommitdiffstats
path: root/testing/epic5/APKBUILD
blob: 60586f060594ab66f79c93cd82428d5e162dee61 (plain) (blame)
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
42
43
44
45
46
# Contributor: rubicon <rubicon@mailo.com>
# Maintainer: rubicon <rubicon@mailo.com>
pkgname=epic5
pkgver=2.1.7
pkgrel=0
pkgdesc="Enhanced Programmable ircII Client, version 5"
url="http://epicsol.org/"
arch="all"
license="BSD-3-Clause"
makedepends="libarchive-dev ncurses-dev openssl1.1-compat-dev tcl-dev"
subpackages="$pkgname-doc $pkgname-script:script:noarch"
source="http://ftp.epicsol.org/pub/epic/EPIC5-PRODUCTION/epic5-$pkgver.tar.gz
	default-to-oftc.patch
	"

build() {
	./configure \
		--prefix=/usr \
		--with-ssl \
		--with-ipv6 \
		--with-tcl
	make
}

check() {
	./source/epic5 -v
}

package() {
	make DESTDIR="$pkgdir" install
	rmdir "$pkgdir"/usr/share/epic5/help
	install -Dm644 -t "$pkgdir"/usr/share/doc/epic5 \
		"$builddir"/doc/*
	rm "$pkgdir"/usr/share/doc/epic5/epic*.1
}

script() {
	depends="$pkgname"
	pkgdesc="$pkgdesc (bundled scripts)"
	amove usr/share/epic5
}

sha512sums="
2391f07b61b9266d299fc3a7c015f2ff774e360678eb7d35e7a494834abe14612535f6156fc13a88efe6b12b08f8d0bee567648df8615d416eebd35df325f793  epic5-2.1.7.tar.gz
b89098e2a5ba34b9b28714e3ed94230a5e9b56f455eb4e38d0108229633056df55de6e5a89a2f6459f8b034785b8774bf94eaeb35bfe6353de54b3b013f18da5  default-to-oftc.patch
"