# Contributor: Adam Saponara # Maintainer: Adam Saponara pkgname=termbox pkgver=1.1.2 pkgrel=1 pkgdesc="Legacy-free alternative to ncurses" url="https://github.com/nsf/termbox" arch="all" license="MIT" makedepends="meson" 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 meson.build " prepare() { default_prepare mv "$srcdir"/meson.build . } build() { abuild-meson \ --default-library=both \ . output meson compile -C output } package() { DESTDIR="$pkgdir" meson install --no-rebuild -C output } sha512sums="fcb240e9aa480a0cc738f0d01e60c39ef0f333f434c0d1f2d276d3d75edd351e694fd800e0b8dbadd12be686a4261551d10d475933197ef539cdb4dd70c153cb termbox-1.1.2.tar.gz 2c87d27d47d0eb3348c945de0495512d77c77c2208d1b29a617313a1cbab770f869b2310342916e654db9330ad0b1168d820d49ecd1ca9bb3bd67e88f3b16541 meson.build"