summaryrefslogtreecommitdiffstats
path: root/main/xchat/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/xchat/APKBUILD')
-rw-r--r--main/xchat/APKBUILD15
1 files changed, 8 insertions, 7 deletions
diff --git a/main/xchat/APKBUILD b/main/xchat/APKBUILD
index 7cebfd85c..ea59fac1f 100644
--- a/main/xchat/APKBUILD
+++ b/main/xchat/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xchat
pkgver=2.8.8
-pkgrel=1
+pkgrel=2
pkgdesc="A GTK+ based IRC client"
url="http://www.xchat.org/"
arch="x86 x86_64"
@@ -9,19 +9,19 @@ license="GPL"
makedepends="pkgconfig gtk+-dev openssl-dev dbus-glib-dev perl-dev
libxext-dev"
source="http://www.$pkgname.org/files/source/2.8/$pkgname-$pkgver.tar.bz2
+ midori.patch
"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
- for i in "$srcdir"/*.patch; do
- [ -r "$i" ] || continue
- msg "Applying $i"
- patch -p1 -i "$i" || return 1
+ for i in $source; do
+ case $i in
+ *.patch) msg "$i"; patch -p1 -i "$srcdir"/$i || return 1 ;;
+ esac
done
}
-
build() {
cd "$_builddir"
./configure --prefix=/usr \
@@ -43,4 +43,5 @@ package() {
make DESTDIR="$pkgdir" install || return 1
}
-md5sums="6775c44f38e84d06c06c336b32c4a452 xchat-2.8.8.tar.bz2"
+md5sums="6775c44f38e84d06c06c336b32c4a452 xchat-2.8.8.tar.bz2
+759fd786be3a2546be33f7533632b5a2 midori.patch"