mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-09 17:19:03 -04:00
keep a copy of our arch PKGBUILD
This commit is contained in:
parent
24a9343b0b
commit
2c4f17bc65
37
tools/PKGBUILD
Normal file
37
tools/PKGBUILD
Normal file
@ -0,0 +1,37 @@
|
||||
# Maintainer: Nick Black <dankamongmen@gmail.com>
|
||||
|
||||
pkgname=notcurses
|
||||
pkgver=1.2.9
|
||||
pkgrel=1
|
||||
pkgdesc="Modern TUI library"
|
||||
url="https://nick-black.com/dankwiki/index.php/Notcurses"
|
||||
license=('Apache')
|
||||
arch=('x86_64')
|
||||
depends=('ncurses' 'ffmpeg')
|
||||
makedepends=('cmake' 'pandoc' 'python-cffi' 'python-setuptools' 'doctest')
|
||||
source=("https://github.com/dankamongmen/notcurses/archive/v${pkgver}.tar.gz")
|
||||
|
||||
prepare() {
|
||||
mkdir -p "${pkgname}-${pkgver}/build"
|
||||
cd "${pkgname}-${pkgver}/build"
|
||||
cmake .. -DCMAKE_INSTALL_PREFIX="/usr" -DCMAKE_BUILD_TYPE=RelWithDebInfo
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "${pkgname}-${pkgver}/build"
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "${pkgname}-${pkgver}/build"
|
||||
make test
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${pkgname}-${pkgver}/build"
|
||||
make install DESTDIR="$pkgdir"
|
||||
cd python
|
||||
python setup.py install --root="$pkgdir" --optimize=1
|
||||
}
|
||||
|
||||
sha256sums=('fafd05eac242548af2aacb9c2df05c2e6d230097eed6f47144e11b30f464632b')
|
Loading…
x
Reference in New Issue
Block a user