aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornick black <dankamongmen@gmail.com>2021-05-09 22:21:31 -0400
committerMichał Polański <michal@polanski.me>2021-05-10 03:46:35 +0000
commit13104bfbbf7dd663245f1cb250df14f0dc8f80ba (patch)
tree5a9b0c36e7f04fecdca27ac85259e4121fa0a240
parentfa24fd191da99d34438b65e1117b9f9026fc8675 (diff)
downloadaports-13104bfbbf7dd663245f1cb250df14f0dc8f80ba.tar.gz
aports-13104bfbbf7dd663245f1cb250df14f0dc8f80ba.tar.bz2
aports-13104bfbbf7dd663245f1cb250df14f0dc8f80ba.tar.xz
community/notcurses: upgrade to 2.3.0
-rw-r--r--community/notcurses/APKBUILD16
1 files changed, 12 insertions, 4 deletions
diff --git a/community/notcurses/APKBUILD b/community/notcurses/APKBUILD
index d7a91481d7..a753997ed1 100644
--- a/community/notcurses/APKBUILD
+++ b/community/notcurses/APKBUILD
@@ -1,16 +1,18 @@
# Contributor: Nick Black <dankamongmen@gmail.com>
# Maintainer: Nick Black <dankamongmen@gmail.com>
pkgname=notcurses
-pkgver=2.2.11
+pkgver=2.3.0
pkgrel=0
pkgdesc="Blingful character graphics and TUI library"
url="https://nick-black.com/dankwiki/index.php/Notcurses"
arch="all"
license="Apache-2.0"
makedepends="cmake ncurses-dev linux-headers ffmpeg-dev doctest-dev libunistring-dev readline-dev ncurses-terminfo"
-subpackages="$pkgname-static $pkgname-dbg $pkgname-dev $pkgname-doc
+subpackages="$pkgname-dbg $pkgname-static $pkgname-dev $pkgname-doc
$pkgname-libs $pkgname-demo ncneofetch ncls $pkgname-view $pkgname-tetris"
-source="$pkgname-$pkgver.tar.gz::https://github.com/dankamongmen/notcurses/archive/v$pkgver.tar.gz"
+source="https://github.com/dankamongmen/notcurses/archive/v$pkgver/notcurses-$pkgver.tar.gz
+ https://github.com/dankamongmen/notcurses/releases/download/v$pkgver/notcurses-doc-$pkgver.tar.gz
+ "
build() {
if [ "$CBUILD" != "$CHOST" ]; then
@@ -34,6 +36,9 @@ check() {
package() {
make -C build DESTDIR="$pkgdir" install
+
+ install -Dm644 -t "$pkgdir"/usr/share/man/man1 "$srcdir"/*.1
+ install -Dm644 -t "$pkgdir"/usr/share/man/man3 "$srcdir"/*.3
}
libs() {
@@ -62,4 +67,7 @@ tetris() {
amove usr/bin/nctetris
}
-sha512sums="8aa364bcb5c1ea709354011ea604be235945343919fc94c2947a80a4d2429cd1d1b43def8c7be2728f714dc55a3fff3d8f2f1d0c6c89a4534d62aea924d83376 notcurses-2.2.11.tar.gz"
+sha512sums="
+7afc8e14d58c8c02e0854c9b0ed6cbf0e19381e25a81e6dc6649c98284f1eadfb4356fbb471dce5f772d367c07009a70b2e96d1d99ad5a9a36356939346f16aa notcurses-2.3.0.tar.gz
+04361ecf832aa97fb8894dd59ed4820ad8aea25657c217d413e06d7cb8bb25c007baef6edf2fcf49412c01f6da7531e6132ee4e16187617e978be84de395e646 notcurses-doc-2.3.0.tar.gz
+"