blob: 92bc915e5cc43029c6f9f39588b7de4c18756113 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# shellcheck disable=SC2034 # unused var
# shellcheck disable=SC2154 # var referenced but not assigned
# shellcheck disable=SC2164 # cd might fail
# Maintainer: Štěpán Němec <stepnem@gmail.com>
pkgname=ubrowse
pkgver=1.8
pkgrel=1
pkgdesc='Unicode character browser for the terminal'
arch=(x86_64)
url="https://www.muppetlabs.com/~breadbox/software/$pkgname.html"
license=(MIT)
depends=(ncurses)
makedepends=(curl pkgconf python)
source=("http://www.muppetlabs.com/~breadbox/pub/software/$pkgname-$pkgver.tar.gz")
sha256sums=('98ebaff6bad7ebd1f0ee45ae32341062ff94520813b057b16431c2998f4bc1e0')
build() {
cd "$pkgname-$pkgver"
make CFLAGS="$CPPFLAGS $CFLAGS $(pkg-config --cflags ncursesw)" \
LDFLAGS="$LDFLAGS"
}
package() {
cd "$pkgname-$pkgver"
make PREFIX="$pkgdir"/usr install
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE
install -Dm644 Changelog "$pkgdir"/usr/share/doc/"$pkgname"/Changelog
}
|