diff options
author | Oleg Titov <oleg.titov@gmail.com> | 2019-12-08 11:05:11 -0600 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-12-10 10:15:26 +0100 |
commit | 93252f57672dcedcf9220540bc7f48bc13e1a489 (patch) | |
tree | a15f613bc31380f60e16155a690d32f4721a6d71 /community/weechat/APKBUILD | |
parent | ebc8b448ce5bb8f6feebd134272baa01cb27e538 (diff) | |
download | aports-93252f57672dcedcf9220540bc7f48bc13e1a489.tar.bz2 aports-93252f57672dcedcf9220540bc7f48bc13e1a489.tar.xz |
community/weechat: upgrade to 2.7
- Ref https://github.com/weechat/weechat/releases/tag/v2.7
- Remove patch as it was applied upstream
- Fix lint warnings about use of ${_name} and $pkgname in source
- Add asciidoctor to depends_dev
- Change libint for gettext-dev in depends_dev
- Add $pkgname-doc and $pkgname-lang to subpackages
Diffstat (limited to 'community/weechat/APKBUILD')
-rw-r--r-- | community/weechat/APKBUILD | 50 |
1 files changed, 36 insertions, 14 deletions
diff --git a/community/weechat/APKBUILD b/community/weechat/APKBUILD index 4b9e856e46..7c4a75887d 100644 --- a/community/weechat/APKBUILD +++ b/community/weechat/APKBUILD @@ -1,21 +1,38 @@ # Maintainer: Leonardo Arena <rnalrd@alpinelinux.org> pkgname=weechat -pkgver=2.6 -pkgrel=2 +pkgver=2.7 +pkgrel=0 pkgdesc="A fast, light, extensible ncurses-based chat client" url="https://weechat.org" arch="all" options="!check" # test suite runs "sudo make install" license="GPL-3.0-or-later" -depends_dev="cmake libintl ncurses-dev gnutls-dev libgcrypt-dev curl-dev - aspell-dev lua-dev perl-dev python3-dev ruby-dev zlib-dev" +depends_dev="asciidoctor + cmake + gettext-dev + ncurses-dev + gnutls-dev + libgcrypt-dev + curl-dev + aspell-dev + lua-dev + perl-dev + python3-dev + ruby-dev + zlib-dev + " + makedepends="$depends_dev" -subpackages="$pkgname-dev $pkgname-spell:_plugin $pkgname-lua:_plugin - $pkgname-perl:_plugin $pkgname-python:_plugin $pkgname-ruby:_plugin" -source=" - https://www.weechat.org/files/src/$pkgname-$pkgver.tar.gz - 0001-cmake-vendor-in-a-new-version-of-FindPkgConfig.patch -" +subpackages="$pkgname-dev + $pkgname-doc + $pkgname-lang + $pkgname-spell:_plugin + $pkgname-lua:_plugin + $pkgname-perl:_plugin + $pkgname-python:_plugin + $pkgname-ruby:_plugin + " +source="https://www.weechat.org/files/src/weechat-$pkgver.tar.gz" # secfixes: # 1.7.1-r0: @@ -26,7 +43,13 @@ source=" build() { mkdir -p build cd build - cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DENABLE_MAN=ON + cmake .. \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DENABLE_MAN=ON \ + -DENABLE_TCL=OFF \ + -DENABLE_GUILE=OFF \ + -DENABLE_JAVASCRIPT=OFF \ + -DENABLE_PHP=OFF make } @@ -51,12 +74,11 @@ _plugin() { fi mkdir -p "$subpkgdir"/$_dir - mv "$pkgdir"/$_dir/${_name}.so "$subpkgdir"/$_dir + mv "$pkgdir"/$_dir/"$_name".so "$subpkgdir"/$_dir } check() { ./tools/build-test.sh cmake } -sha512sums="47698f9b275c4fad68cc786cf0739e6f7355428abf57b94e64df84725b001546783f4e6389d0ed51ff5108c50c48dba344c22da9f43bc6f6f90acedacc3e84a5 weechat-2.6.tar.gz -0189fdbd55b4e508fe49ce594607afebd27b35dea87a6c4fd0a88b8c1e03771c8eca939c163c819b413975052f01900d1dde2b9266bd52594a4a258f364d1ca2 0001-cmake-vendor-in-a-new-version-of-FindPkgConfig.patch" +sha512sums="7a9205b6a3b7e338b14708e1b9aad4f2099506c46b1e86faf4fa94a105bc20b056a53ce3d003ae31ea1cdbab711ddd9dca7258a7d03f0f7af3703ebdbdfeb3d9 weechat-2.7.tar.gz" |