mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +02:00
main/tmux: clarify license, improve abuild
This commit is contained in:
parent
5cc57a90bc
commit
af54e006e0
@ -4,16 +4,16 @@ pkgname=tmux
|
|||||||
pkgver=2.7
|
pkgver=2.7
|
||||||
pkgrel=0
|
pkgrel=0
|
||||||
pkgdesc="Tool to control multiple terminals from a single terminal"
|
pkgdesc="Tool to control multiple terminals from a single terminal"
|
||||||
url="https://tmux.github.io/"
|
url="https://tmux.github.io"
|
||||||
arch="all"
|
arch="all"
|
||||||
license="BSD"
|
license="BSD ISC"
|
||||||
depends="ncurses-terminfo"
|
depends="ncurses-terminfo"
|
||||||
makedepends="ncurses-dev libevent-dev autoconf automake bsd-compat-headers"
|
makedepends="autoconf automake bsd-compat-headers libevent-dev ncurses-dev"
|
||||||
install=
|
install=
|
||||||
subpackages="$pkgname-doc"
|
subpackages="$pkgname-doc"
|
||||||
source="https://github.com/tmux/tmux/releases/download/$pkgver/$pkgname-$pkgver.tar.gz"
|
source="https://github.com/tmux/tmux/releases/download/$pkgver/$pkgname-$pkgver.tar.gz"
|
||||||
|
|
||||||
builddir="$srcdir/"$pkgname-$pkgver
|
builddir="$srcdir/$pkgname-$pkgver"
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$builddir"
|
cd "$builddir"
|
||||||
@ -36,9 +36,9 @@ package() {
|
|||||||
cd "$builddir"
|
cd "$builddir"
|
||||||
make DESTDIR="$pkgdir" install
|
make DESTDIR="$pkgdir" install
|
||||||
|
|
||||||
install -Dm644 example_tmux.conf \
|
install -D -m644 example_tmux.conf \
|
||||||
"$pkgdir"/usr/share/doc/$pkgname/examples/$pkgname.conf
|
"$pkgdir"/usr/share/doc/$pkgname/examples/$pkgname.conf
|
||||||
for file in CHANGES README TODO; do
|
local file; for file in CHANGES README TODO; do
|
||||||
install -m644 "$file" "$pkgdir"/usr/share/doc/$pkgname/
|
install -m644 "$file" "$pkgdir"/usr/share/doc/$pkgname/
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user