diff options
-rw-r--r-- | main/irssi/APKBUILD | 24 |
1 files changed, 4 insertions, 20 deletions
diff --git a/main/irssi/APKBUILD b/main/irssi/APKBUILD index dffcf2495..d96e06dba 100644 --- a/main/irssi/APKBUILD +++ b/main/irssi/APKBUILD @@ -1,18 +1,18 @@ # Maintainer: Kiyoshi Aman <kiyoshi.aman at gmail.com> pkgname=irssi pkgver=0.8.15 -pkgrel=7 +pkgrel=8 pkgdesc="A modular textUI IRC client with IPv6 support" url="http://irssi.org/" arch="all" license='GPL' -depends= +depends="perl" makedepends="glib-dev openssl-dev ncurses-dev perl-dev pkgconfig" source=" http://irssi.org/files/irssi-${pkgver}.tar.bz2 $pkgname-italics.patch " -subpackages="$pkgname-doc $pkgname-dev $pkgname-perl:perl $pkgname-proxy:proxy" +subpackages="$pkgname-doc $pkgname-dev $pkgname-proxy:proxy" _builddir="$srcdir/$pkgname-$pkgver" @@ -32,7 +32,7 @@ build() { ./configure --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --with-perl=module \ + --with-perl-staticlib \ --with-proxy make || return 1 make DESTDIR="$pkgdir" install @@ -43,22 +43,6 @@ package() { make DESTDIR="$pkgdir" install } -perl() { - depends="$pkgname perl" - pkgdesc="Irssi perl support and scripts" - mkdir -p "$subpkgdir"/usr/share/irssi - 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/ - 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 - chmod +w "$subpkgdir"/usr/lib/perl5/core_perl/auto/Irssi/Irssi.so - chmod +w "$subpkgdir"/usr/lib/perl5/core_perl/auto/Irssi/Irc/Irc.so - chmod +w "$subpkgdir"/usr/lib/perl5/core_perl/auto/Irssi/UI/UI.so -} - proxy() { depends="$pkgname" pkgdesc="Irssi module for enabling bouncer-like functionality" |