aboutsummaryrefslogtreecommitdiffstats
path: root/main/irssi
diff options
context:
space:
mode:
Diffstat (limited to 'main/irssi')
-rw-r--r--main/irssi/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/main/irssi/APKBUILD b/main/irssi/APKBUILD
new file mode 100644
index 0000000000..bdb3c16c92
--- /dev/null
+++ b/main/irssi/APKBUILD
@@ -0,0 +1,34 @@
+# Maintainer: Carlo Landmeter <clandmeter at gmail.com>
+pkgname=irssi
+pkgver=0.8.13
+#_pkgver=0.8.13-rc1
+pkgrel=0
+pkgdesc="A modular textUI IRC client with IPv6 support"
+url="http://irssi.org/"
+license='GPL'
+depends="glib ncurses ncurses-terminfo openssl"
+makedepends="glib-dev openssl-dev ncurses-dev perl-dev pkgconfig g++"
+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="0d6fc2203832b514eff014fffd574664 irssi-0.8.13.tar.bz2"