Date: Friday, April 15, 2022 @ 15:46:25 Author: sangy Revision: 1186576
archrelease: copy trunk to community-x86_64 Added: notcurses/repos/community-x86_64/PKGBUILD (from rev 1186575, notcurses/trunk/PKGBUILD) Deleted: notcurses/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 80 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 40 insertions(+), 40 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-04-15 15:45:52 UTC (rev 1186575) +++ PKGBUILD 2022-04-15 15:46:25 UTC (rev 1186576) @@ -1,40 +0,0 @@ -# Maintainer: Santiago Torres-Arias <santiago -> a.o > -# Maintainer: Nick Black <dankamong...@gmail.com> - -pkgname=notcurses -pkgver=3.0.7 -pkgrel=1 -pkgdesc="Blingful TUI/character graphics library" -url="https://nick-black.com/dankwiki/index.php/Notcurses" -license=('Apache') -arch=('x86_64') -# qrcodegen is currently shipped as a static archive on Arch, rather than a -# dynamic library. Should the .so be shipped in the future, promote qrcodegen -# from a makedepends to a true depends, and use that dynamic library. -depends=('ncurses' 'ffmpeg' 'libunistring' 'gpm') -makedepends=('libdeflate' 'cmake' 'pandoc' 'python-pip' 'python-pypandoc' 'python-cffi' 'python-setuptools' 'readline' 'ninja' 'zlib' 'gpm' 'doctest') -source=("https://github.com/dankamongmen/notcurses/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz") -sha256sums=('db461c6ba07a8e3735a51a1d2e706d249ae30436519f543fa5931d414019c770') - -prepare() { - mkdir -p "${pkgname}-${pkgver}/build" - cd "${pkgname}-${pkgver}/build" - cmake .. -GNinja -DCMAKE_INSTALL_PREFIX="/usr" -DCMAKE_BUILD_TYPE=RelWithDebInfo -DUSE_QRCODEGEN=off -DUSE_GPM=on -} - -build() { - cd "${pkgname}-${pkgver}/build" - ninja -} - -check() { - cd "${pkgname}-${pkgver}/build" - ninja test -} - -package() { - cd "${pkgname}-${pkgver}/build" - DESTDIR="$pkgdir" ninja install - cd ../cffi - env CFLAGS="-I$pkgdir/usr/include -L../build" python setup.py install --root="$pkgdir" --optimize=1 -} Copied: notcurses/repos/community-x86_64/PKGBUILD (from rev 1186575, notcurses/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-04-15 15:46:25 UTC (rev 1186576) @@ -0,0 +1,40 @@ +# Maintainer: Santiago Torres-Arias <santiago -> a.o > +# Maintainer: Nick Black <dankamong...@gmail.com> + +pkgname=notcurses +pkgver=3.0.8 +pkgrel=1 +pkgdesc="Blingful TUI/character graphics library" +url="https://nick-black.com/dankwiki/index.php/Notcurses" +license=('Apache') +arch=('x86_64') +# qrcodegen is currently shipped as a static archive on Arch, rather than a +# dynamic library. Should the .so be shipped in the future, promote qrcodegen +# from a makedepends to a true depends, and use that dynamic library. +depends=('ncurses' 'ffmpeg' 'libunistring' 'gpm') +makedepends=('libdeflate' 'cmake' 'pandoc' 'python-pip' 'python-pypandoc' 'python-cffi' 'python-setuptools' 'readline' 'ninja' 'zlib' 'gpm' 'doctest') +source=("https://github.com/dankamongmen/notcurses/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz") +sha256sums=('56c33ffe2a2bc4d0b6e3ac14bdf620cf41e3293789135f76825057d0166974fd') + +prepare() { + mkdir -p "${pkgname}-${pkgver}/build" + cd "${pkgname}-${pkgver}/build" + cmake .. -GNinja -DCMAKE_INSTALL_PREFIX="/usr" -DCMAKE_BUILD_TYPE=RelWithDebInfo -DUSE_QRCODEGEN=off -DUSE_GPM=on +} + +build() { + cd "${pkgname}-${pkgver}/build" + ninja +} + +check() { + cd "${pkgname}-${pkgver}/build" + ninja test +} + +package() { + cd "${pkgname}-${pkgver}/build" + DESTDIR="$pkgdir" ninja install + cd ../cffi + env CFLAGS="-I$pkgdir/usr/include -L../build" python setup.py install --root="$pkgdir" --optimize=1 +}