aboutsummaryrefslogtreecommitdiffstats
path: root/main/xchat/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-01-06 12:21:10 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-01-06 12:21:10 +0000
commit81aa49a3d6105dbd53b600e0d70e2c0de3894202 (patch)
treeec6ef2c26911377347b194b42c923c0f57802df5 /main/xchat/APKBUILD
parent41c5ec7ad6cdf9ede20899b20d26009eabb93877 (diff)
downloadaports-81aa49a3d6105dbd53b600e0d70e2c0de3894202.tar.bz2
aports-81aa49a3d6105dbd53b600e0d70e2c0de3894202.tar.xz
main/xchat: fallback to midori if browser is not found
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 7cebfd85c8..ea59fac1f4 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"