aboutsummaryrefslogtreecommitdiffstats
path: root/main/irssi/APKBUILD
blob: e20661c3799993a00da245625a6ed68b0a0b3a7f (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
# Maintainer: Carlo Landmeter <clandmeter at gmail.com>
pkgname=irssi
pkgver=0.8.14
#_pkgver=0.8.14
pkgrel=2
pkgdesc="A modular textUI IRC client with IPv6 support"
url="http://irssi.org/"
license='GPL'
depends=
makedepends="glib-dev openssl-dev ncurses-dev perl-dev pkgconfig"
source="http://irssi.org/files/irssi-${pkgver}.tar.bz2"
subpackages="$pkgname-doc $pkgname-dev $pkgname-perl"

build() {
	cd "$srcdir/$pkgname-${pkgver}"

	./configure --prefix=/usr \
	--sysconfdir=/etc \
	--mandir=/usr/share/man \
	--with-perl=module
	make || return 1
	make DESTDIR="$pkgdir" install
}

perl() {
	depends="$pkgname perl"
	mkdir -p "$subpkgdir"/usr/share/irssi
	mv "$pkgdir"/usr/share/irssi/scripts "$subpkgdir"/usr/share/irssi/
	mkdir -p "$subpkgdir"/usr/lib/irssi
	mv "$pkgdir"/usr/lib/irssi/modules "$subpkgdir"/usr/lib/irssi/
	mv "$pkgdir"/usr/lib/perl5 "$subpkgdir"/usr/lib/
}

md5sums="00efe7638dd596d5930dfa2aeae87b3a  irssi-0.8.14.tar.bz2"