aboutsummaryrefslogtreecommitdiffstats
path: root/main/irssi
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2010-05-12 10:46:19 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2010-05-12 10:46:19 +0000
commit3eeb4072692751a8a71d541c117c7d9dedb973a9 (patch)
tree03d1ef68ce5ab63819e24ace930d61745d576b99 /main/irssi
parentb11b8ab1541e74329205cc49cbc594c450971724 (diff)
downloadaports-3eeb4072692751a8a71d541c117c7d9dedb973a9.tar.bz2
aports-3eeb4072692751a8a71d541c117c7d9dedb973a9.tar.xz
main/irssi: upgrade to 0.8.15
Diffstat (limited to 'main/irssi')
-rw-r--r--main/irssi/APKBUILD22
1 files changed, 17 insertions, 5 deletions
diff --git a/main/irssi/APKBUILD b/main/irssi/APKBUILD
index e20661c379..253c96ea9a 100644
--- a/main/irssi/APKBUILD
+++ b/main/irssi/APKBUILD
@@ -1,8 +1,7 @@
# Maintainer: Carlo Landmeter <clandmeter at gmail.com>
pkgname=irssi
-pkgver=0.8.14
-#_pkgver=0.8.14
-pkgrel=2
+pkgver=0.8.15
+pkgrel=0
pkgdesc="A modular textUI IRC client with IPv6 support"
url="http://irssi.org/"
license='GPL'
@@ -11,8 +10,10 @@ 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"
+_builddir="$srcdir/$pkgname-$pkgver"
+
build() {
- cd "$srcdir/$pkgname-${pkgver}"
+ cd "$_builddir"
./configure --prefix=/usr \
--sysconfdir=/etc \
@@ -22,13 +23,24 @@ build() {
make DESTDIR="$pkgdir" install
}
+package() {
+ cd "$_builddir"
+ 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
mv "$pkgdir"/usr/lib/irssi/modules "$subpkgdir"/usr/lib/irssi/
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
}
-md5sums="00efe7638dd596d5930dfa2aeae87b3a irssi-0.8.14.tar.bz2"
+md5sums="1dcb3f511b88df94b0c996f36668c7da irssi-0.8.15.tar.bz2"