summaryrefslogtreecommitdiffstats
path: root/main/ircii/APKBUILD
blob: a18f48408a6ab410d3cc9d38572103049f7b22e0 (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: Michael Mason <ms13sp@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=ircii
pkgver=20111115
pkgrel=0
pkgdesc="Universal IRC for Unix systems"
url="http://www.eterna.com.au/ircii/"
arch="all"
license="GPL"
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"

build() {
	cd "$srcdir/$pkgname-$pkgver"
	./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 "$srcdir/$pkgname-$pkgver"
	make -j1 DESTDIR="$pkgdir" install
}

md5sums="402b3badc21a7394d9c84d15a1ddb6c5  ircii-20111115.tar.bz2"