Subject: [alpine-aports] [PATCH] main/irssi: Upgrade to 1.0.0. Modernize APKBUILD. Change maintainer.

From: Przemyslaw Pawelczyk <[email-masked]>
Date: Fri, 6 Jan 2017 00:21:11 +0100

Old alleged maintainer (Kiyoshi Aman) has no trace of any activity in
aports repo since 2011.  Natanael Copa is the most active contributor,
so hopefully he's not against becoming maintainer of another package.
---
 main/irssi/APKBUILD | 28 +++++++++-------------------
 1 file changed, 9 insertions(+), 19 deletions(-)

diff --git a/main/irssi/APKBUILD b/main/irssi/APKBUILD
index b7340a2a2dfb..617e63dfa9a2 100644
--- a/main/irssi/APKBUILD
+++ b/main/irssi/APKBUILD
@@ -1,29 +1,19 @@
-# Maintainer: Kiyoshi Aman <[email-masked]>
+# Maintainer: Natanael Copa <[email-masked]>
 pkgname=irssi
-pkgver=0.8.20
-pkgrel=1
+pkgver=1.0.0
+pkgrel=0
 pkgdesc="A modular textUI IRC client with IPv6 support"
 url="http://irssi.org/"
 arch="all"
 license="GPL2+"
-depends=
 makedepends="glib-dev libressl-dev ncurses-dev perl-dev automake autoconf libtool"
 subpackages="$pkgname-doc $pkgname-dev $pkgname-proxy $pkgname-perl"
 source="https://github.com/irssi/irssi/releases/download/$pkgver/irssi-$pkgver.tar.xz"
 
-_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
-}
+builddir="$srcdir"/$pkgname-$pkgver
 
 build() {
-	cd "$_builddir"
+	cd "$builddir"
 	./configure \
 		--build=$CBUILD \
 		--host=$CHOST \
@@ -38,7 +28,7 @@ build() {
 }
 
 package() {
-	cd "$_builddir"
+	cd "$builddir"
 	make DESTDIR="$pkgdir" install || return 1
 	find "$pkgdir" -name perllocal.pod -delete
 }
@@ -67,6 +57,6 @@ proxy() {
 	mv "$pkgdir"/usr/lib/irssi/modules/libirc_proxy.* "$subpkgdir"/usr/lib/irssi/modules/
 }
 
-md5sums="67d48c5feec2d3b949d088aa4abc3601  irssi-0.8.20.tar.xz"
-sha256sums="7882c4e821f5aac469c5e69e69d7e235f4986101285c675e81a9a95bfb20505a  irssi-0.8.20.tar.xz"
-sha512sums="ace39022a3e7461fc33cbd0e8c6635aa84c67fc4f6364b66747f860a4538a4b17bbd677e342fbfa9ae7e97783745f8d7dab350a27330ce14f1702386231296b1  irssi-0.8.20.tar.xz"
+md5sums="5365bb3825536bad789ac22a293ece4d  irssi-1.0.0.tar.xz"
+sha256sums="6a8a3c1fc6a021a2c02a693877b2e19cbceb3eccd78fce49e44f596f4bae4fb8  irssi-1.0.0.tar.xz"
+sha512sums="5846fa3fbb0a3f457cdea37b70022ecf31acbcc1be62d090d28a292c305657f0d8efa1ca59e241254a5bfad57e9b78d5ef2553252ea67e1ba95feb87d8ab3ecf  irssi-1.0.0.tar.xz"
-- 
2.8.3

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---