aboutsummaryrefslogtreecommitdiffstats
path: root/main/irssi/APKBUILD
diff options
context:
space:
mode:
authorKiyoshi Aman <kiyoshi.aman@gmail.com>2011-02-16 01:36:32 -0500
committerKiyoshi Aman <kiyoshi.aman@gmail.com>2011-02-16 01:37:11 -0500
commitd300c7466e7914bc07781b4b33cdb6b4c8bc8f99 (patch)
treee0d499f61deaef73bde85ffb49feeba793146167 /main/irssi/APKBUILD
parent3731e07125ddb129e0949944de7365795de49be3 (diff)
downloadaports-d300c7466e7914bc07781b4b33cdb6b4c8bc8f99.tar.bz2
aports-d300c7466e7914bc07781b4b33cdb6b4c8bc8f99.tar.xz
main/irssi: Preliminary support for mIRC 'italics' controlcode.
Diffstat (limited to 'main/irssi/APKBUILD')
-rw-r--r--main/irssi/APKBUILD32
1 files changed, 23 insertions, 9 deletions
diff --git a/main/irssi/APKBUILD b/main/irssi/APKBUILD
index 4310d19c20..e291da3578 100644
--- a/main/irssi/APKBUILD
+++ b/main/irssi/APKBUILD
@@ -1,18 +1,31 @@
# Maintainer: Kiyoshi Aman <kiyoshi.aman at gmail.com>
pkgname=irssi
pkgver=0.8.15
-pkgrel=4
+pkgrel=5
pkgdesc="A modular textUI IRC client with IPv6 support"
url="http://irssi.org/"
arch="all"
license='GPL'
depends=
makedepends="glib-dev openssl-dev ncurses-dev perl-dev pkgconfig"
-source="http://irssi.org/files/irssi-${pkgver}.tar.bz2"
+source="
+ http://irssi.org/files/irssi-${pkgver}.tar.bz2
+ $pkgname-italics.patch
+ "
subpackages="$pkgname-doc $pkgname-dev $pkgname-perl:perl $pkgname-proxy:proxy"
_builddir="$srcdir/$pkgname-$pkgver"
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
build() {
cd "$_builddir"
@@ -20,7 +33,7 @@ build() {
--sysconfdir=/etc \
--mandir=/usr/share/man \
--with-perl=module \
- --with-proxy
+ --with-proxy
make || return 1
make DESTDIR="$pkgdir" install
}
@@ -37,7 +50,7 @@ perl() {
mv "$pkgdir"/usr/share/irssi/scripts "$subpkgdir"/usr/share/irssi/
mkdir -p "$subpkgdir"/usr/lib/irssi/modules
mv "$pkgdir"/usr/lib/irssi/modules/libfe_perl.* \
- "$pkgdir"/usr/lib/irssi/modules/libperl_core.* "$subpkgdir"/usr/lib/irssi/modules/
+ "$pkgdir"/usr/lib/irssi/modules/libperl_core.* "$subpkgdir"/usr/lib/irssi/modules/
mv "$pkgdir"/usr/lib/perl5 "$subpkgdir"/usr/lib/
#need write permission when stripping
chmod +w "$subpkgdir"/usr/lib/perl5/core_perl/auto/Irssi/TextUI/TextUI.so
@@ -47,10 +60,11 @@ perl() {
}
proxy() {
- depends="$pkgname"
- pkgdesc="Irssi module for enabling bouncer-like functionality"
- mkdir -p "$subpkgdir"/usr/lib/irssi/modules
- mv "$pkgdir"/usr/lib/irssi/modules/libirc_proxy.* "$subpkgdir"/usr/lib/irssi/modules/
+ depends="$pkgname"
+ pkgdesc="Irssi module for enabling bouncer-like functionality"
+ mkdir -p "$subpkgdir"/usr/lib/irssi/modules
+ mv "$pkgdir"/usr/lib/irssi/modules/libirc_proxy.* "$subpkgdir"/usr/lib/irssi/modules/
}
-md5sums="1dcb3f511b88df94b0c996f36668c7da irssi-0.8.15.tar.bz2"
+md5sums="1dcb3f511b88df94b0c996f36668c7da irssi-0.8.15.tar.bz2
+997281a5b6dc68f86cc6182d287cc894 irssi-italics.patch"