aboutsummaryrefslogtreecommitdiffstats
path: root/extra/irssi-svn/APKBUILD
blob: 301c8832bd5101198c3c2d00b3b6f537b8329a73 (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
# Maintainer: Carlo Landmeter <clandmeter at gmail.com>
pkgname=irssi-svn
pkgver=20090104
pkgrel=0
pkgdesc="A modular textUI IRC client with IPv6 support"
url="http://irssi.org"
license='GPL'
depends="glib ncurses openssl"
makedepends="glib-dev openssl-dev ncurses-dev"
source="http://www.irssi.org/files/snapshots/irssi-20090104.tar.gz"
subpackages="$pkgname-doc $pkgname-dev $pkgname-perl"

build() {
	cd "$srcdir"/irssi-0.8.13-svn

        ./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
	mv "$pkgdir"/usr/lib "$subpkgdir"/usr/
	mkdir -p "$subpkgdir"/usr/share/irssi
	mv "$pkgdir"/usr/share/irssi/scripts "$subpkgdir"/usr/share/irssi/
}

md5sums="27dcecc11b971d428e5783b4088e1c49  irssi-20090104.tar.gz"