blob: bd1a275af3b1aa0eba4ee53f385c3551dc071ee9 (
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
|
# Contributor: Adam Saponara <as@php.net>
# Maintainer: Adam Saponara <as@php.net>
pkgname="termbox"
pkgver="1.1.2"
pkgrel=0
pkgdesc="Legacy-free alternative to ncurses"
url="https://github.com/nsf/termbox"
arch="all"
license="MIT"
makedepends="python3"
subpackages="$pkgname-static $pkgname-dev"
options="!check" # no tests available
source="$pkgname-$pkgver.tar.gz::https://github.com/nsf/termbox/archive/v$pkgver.tar.gz
waf.patch"
build() {
python3 ./waf configure --prefix=/usr
python3 ./waf build --verbose
}
package() {
python3 ./waf install --destdir="$pkgdir"
}
sha512sums="fcb240e9aa480a0cc738f0d01e60c39ef0f333f434c0d1f2d276d3d75edd351e694fd800e0b8dbadd12be686a4261551d10d475933197ef539cdb4dd70c153cb termbox-1.1.2.tar.gz
1724d33a3efc151c19c5bae1b9b82b88ebe846a2a9e3b9ee3590e5b431872ef496b3c28888461262cdd35c01b99071990826fe0a246143640e5b6662ad216696 waf.patch"
|