main/tmux: clarify license, improve abuild

This commit is contained in:
prspkt 2018-04-14 13:21:53 +00:00 committed by Natanael Copa
parent 5cc57a90bc
commit af54e006e0

View File

@ -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
} }