diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2017-05-30 06:06:08 +0000 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2017-06-03 03:43:35 +0000 |
commit | 9e81708c1806fe79ce8eaddc2f975e8ce9a9cad0 (patch) | |
tree | 15a4143a5955d9435dd146f1d11c8480a076ebd5 /main/loudmouth/APKBUILD | |
parent | c216cfba193fb0ff74fbd2bf76a1d6b979aa93d2 (diff) | |
download | aports-9e81708c1806fe79ce8eaddc2f975e8ce9a9cad0.tar.bz2 aports-9e81708c1806fe79ce8eaddc2f975e8ce9a9cad0.tar.xz |
main/loudmouth: upgrade to 1.5.3
Diffstat (limited to 'main/loudmouth/APKBUILD')
-rw-r--r-- | main/loudmouth/APKBUILD | 51 |
1 files changed, 12 insertions, 39 deletions
diff --git a/main/loudmouth/APKBUILD b/main/loudmouth/APKBUILD index 9d7ed203de..be795e5a51 100644 --- a/main/loudmouth/APKBUILD +++ b/main/loudmouth/APKBUILD @@ -1,8 +1,8 @@ # Contributor: Fabian Affolter <fabian@affolter-engineering.ch> # Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> pkgname=loudmouth -pkgver=1.4.3 -pkgrel=4 +pkgver=1.5.3 +pkgrel=0 pkgdesc="A lightweight Jabber client library" url="http://groups.google.com/group/loudmouth-dev" arch="all" @@ -12,28 +12,15 @@ depends_dev="pkgconfig gnutls-dev libidn-dev libasyncns-dev check-dev autoconf" makedepends="$depends_dev glib-dev" install="" subpackages="$pkgname-dev $pkgname-doc" -source="http://ftp.gnome.org/pub/gnome/sources/${pkgname}/1.4/${pkgname}-${pkgver}.tar.bz2 - 01-fix-sasl-md5-digest-uri.patch - 03-drop-stanzas-on-fail.patch - 04-use-pkg-config-for-gnutls.patch - loudmouth-1.4.3-glib-compile-fix.patch - gnutls-3.4.0.patch - " -_builddir="$srcdir"/$pkgname-$pkgver +source="https://mcabber.com/files/${pkgname}/${pkgname}-${pkgver}.tar.bz2" +builddir="$srcdir"/$pkgname-$pkgver prepare() { - local i - cd "$_builddir" - update_config_sub || return 1 - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done + default_prepare || return } build() { - cd "$_builddir" + cd "$builddir" autoconf ./configure \ --build=$CBUILD \ @@ -41,34 +28,20 @@ build() { --disable-static \ --with-asyncns=yes \ --prefix=/usr \ - --with-libgnutls-prefix=/usr \ --infodir=/usr/share/info \ --localstatedir=/var \ || return 1 make || return 1 +} + +check() { + cd "$builddir" make check || return 1 } package() { - cd "$_builddir" + cd "$builddir" make DESTDIR="$pkgdir" install || return 1 } -md5sums="55339ca42494690c3942ee1465a96937 loudmouth-1.4.3.tar.bz2 -5a860172e76dc5df8e694602f360ce76 01-fix-sasl-md5-digest-uri.patch -d0f34028837b7ff93262373ac3d4dd59 03-drop-stanzas-on-fail.patch -2cfb0ef5c32c9bd377e3abb6ad38135a 04-use-pkg-config-for-gnutls.patch -48d26a95b653a8b0bb5589a3c674a58b loudmouth-1.4.3-glib-compile-fix.patch -8c0b4d052f2be41f3c984da97786eafe gnutls-3.4.0.patch" -sha256sums="95a93f5d009b71ea8193d994aa11f311bc330a3efe1b7cd74dc48f11c7f929e3 loudmouth-1.4.3.tar.bz2 -5f781d15fb0b5598fb1bc16933cef1a9f006ba8cfa16a6845209b88c68b8dc16 01-fix-sasl-md5-digest-uri.patch -21f9562965ad49ddd12b76b5eaff79a73ff1a35256cd34747b4d4b29de34f330 03-drop-stanzas-on-fail.patch -d06d5b1d70efb061d6cfec5db918b3585cadf3d07aa8b2bdcfdb5667cfdd086d 04-use-pkg-config-for-gnutls.patch -543b4a18b7dd1bff15b4113aa3875596d2d274bb982f1d1aa2582dbaf11f9ab4 loudmouth-1.4.3-glib-compile-fix.patch -2297b56c9cb41b3922b0de26ec0e96f85d5d6397d8ad39bc0f8927c9b267a105 gnutls-3.4.0.patch" -sha512sums="02d1de14a4d626a4c9100bd24c06d4b4203eabb0f95bab40ee18ea5e68ed81d47aa977625140157b2d9f7974ac748af857c2ee3a916f0db700e2a2d0934940ec loudmouth-1.4.3.tar.bz2 -81302ac124207983ee35fc80e6dc1c0686b2d8d2cde905122f8611a5ffa8affe8625ad11af2f4e49c183a89ea7c6b43976af175bfda4490cbc90461ff5436fca 01-fix-sasl-md5-digest-uri.patch -7b20b8897b9572f2be875b4e29dbf5f6d6278db6cc5cc0017e68ce3a27af41e50bd659bfa26c8d91de221ac55cbe5497ab1f5f6be541b21fe469a321904145ab 03-drop-stanzas-on-fail.patch -d05ebc1bcef6fa40f4dfd3bf294005b9c261df7b8f2ff5c410954541af37227de884259e49a42f3df84889bd839a32560d67c3adec1940592f89b7dba6388a56 04-use-pkg-config-for-gnutls.patch -224402461872f9fe24826307221f7e81f211a2d720559545d4cf2355cd2aacdebd82f47b74948eb3d63fc68a0371e8477b800578b748ec56043a496398880da1 loudmouth-1.4.3-glib-compile-fix.patch -6bda76bfd91ec82c5cb9af2231e2fb9fda134643fcd2e08b19e91c7bbbd59634363258f64f93d612c377a06dce4808b9d62dbfb30ebc56ef84c2363ff979dd30 gnutls-3.4.0.patch" +sha512sums="ab6b16b4e644b69cdb7d8df1753d1bb5b43c2f1e76944e639339169b332e1b5c6a4246053c5b8a579ee9b53c845cef610b0040dfdffeb857180b6bab71adfcce loudmouth-1.5.3.tar.bz2" |