aboutsummaryrefslogtreecommitdiffstats
path: root/main/ircii/APKBUILD
blob: 6c4b2089f517ad8c52d24683d12387a3c2e382a5 (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
# Contributor: Michael Mason <ms13sp@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=ircii
pkgver=20111115
pkgrel=4
pkgdesc="Universal IRC for Unix systems"
url="http://www.eterna.com.au/ircii/"
arch="all"
license="BSD"
depends=""
makedepends="ncurses-dev"
install=""
subpackages="$pkgname-doc"
source="http://dev.alpinelinux.org/archive/ircii/ircii-$pkgver.tar.bz2"
#source="ftp://ircii.warped.com/pub/ircII/ircii-$pkgver.tar.bz2"

_builddir="$srcdir"/$pkgname-$pkgver
build() {
	cd "$_builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--with-default-server=irc.freenode.net \
		|| return 1
	make || return 1
}

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

md5sums="402b3badc21a7394d9c84d15a1ddb6c5  ircii-20111115.tar.bz2"
sha256sums="5c6b4390b8ed04cf3b08a3ba72f41eba9b125d0fc09c637f7c7f81eb6bdd91e6  ircii-20111115.tar.bz2"
sha512sums="6f282debbd27865414a2ef9148b23373f83a051b2917432d9fdc2f153c111f8e592286d42a5ad34fd0cdc155e39938094e140910fbf38be494e3ed3da4cd0b6e  ircii-20111115.tar.bz2"