diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2016-05-10 08:20:11 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2016-05-10 08:20:11 +0000 |
commit | 35fbc10ed027b404f81d5cc6209495e5f38961db (patch) | |
tree | 45d102aed2c63ae436c01df5db390244fc747c88 /main/mcabber | |
parent | 89f43043b5ab18514097f10e286bdd2334572e1c (diff) | |
download | aports-35fbc10ed027b404f81d5cc6209495e5f38961db.tar.bz2 aports-35fbc10ed027b404f81d5cc6209495e5f38961db.tar.xz |
main/mcabber: upgrade to 1.0.2
Diffstat (limited to 'main/mcabber')
-rw-r--r-- | main/mcabber/APKBUILD | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/main/mcabber/APKBUILD b/main/mcabber/APKBUILD index cd2ef83053..317ff9ccac 100644 --- a/main/mcabber/APKBUILD +++ b/main/mcabber/APKBUILD @@ -1,14 +1,14 @@ # Contributor: Fabian Affolter <fabian@affolter-engineering.ch> # Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> pkgname=mcabber -pkgver=0.10.3 -pkgrel=1 +pkgver=1.0.2 +pkgrel=0 pkgdesc="A small Jabber console client" url="http://www.lilotux.net/~mikael/mcabber/" arch="all" license="GPL2+" depends="beep" -depends_dev="" +depends_dev="$makedepends" options="libtool" makedepends="loudmouth-dev glib-dev ncurses-dev gpgme-dev aspell-dev libotr3-dev libidn-dev enchant-dev" @@ -16,13 +16,10 @@ install="" subpackages="$pkgname-dev $pkgname-doc $pkgname-example" source="http://mcabber.com/files/$pkgname-$pkgver.tar.bz2" -_builddir="$srcdir"/$pkgname-$pkgver -prepare() { - cd "$_builddir" -} +builddir="$srcdir"/$pkgname-$pkgver build() { - cd "$_builddir" + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -38,17 +35,19 @@ build() { } package() { - cd "$_builddir" + cd "$builddir" make DESTDIR="$pkgdir" install || return 1 } example() { + pkgdesc="$pkgdesc (examples)" + arch="noarch" # Put the example file into a seperate package mkdir -p "$subpkgdir"/usr/share/doc/"$pkgname"/example || return 1 - mv "$_builddir"/mcabberrc.example \ + mv "$builddir"/mcabberrc.example \ "$subpkgdir"/usr/share/doc/"$pkgname"/example/mcabberrc.example || return 1 } -md5sums="f6b0a075ba678de15af0129653a553da mcabber-0.10.3.tar.bz2" -sha256sums="77466138496cc26db125145cc28dc4fc0df79827143b922dfb9f02eb0dc7fa6d mcabber-0.10.3.tar.bz2" -sha512sums="3f4c83dbe99f1e1981a89d2a9cdfbaf96b265aaabe133e41d562491557e0acc2d780ae88aa3e45eca9088318ef7d7b284f1df445d2b5afb139d5a247e111bc10 mcabber-0.10.3.tar.bz2" +md5sums="3e264b15aa41f4ae43c8f9c87c6fbb43 mcabber-1.0.2.tar.bz2" +sha256sums="e7143891ea6c6ec2f3008c25c13506121d83d15aa83640827aea3b66a8761fde mcabber-1.0.2.tar.bz2" +sha512sums="e7d8f54f0f5cbcd685d6ada49c29fbc3af3315d5727a7a6babcc0aae49880f0cc1df48a1ceec78caeb17822c26f8c00aae23df2565336d92c4e388c8cebb4263 mcabber-1.0.2.tar.bz2" |