Date: Thursday, April 28, 2022 @ 20:44:01 Author: arojas Revision: 1191715
archrelease: copy trunk to community-x86_64 Added: linenoise-ng/repos/community-x86_64/PKGBUILD (from rev 1191714, linenoise-ng/trunk/PKGBUILD) Deleted: linenoise-ng/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 53 +++++++++++++++++++++++++++-------------------------- 1 file changed, 27 insertions(+), 26 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-04-28 20:43:50 UTC (rev 1191714) +++ PKGBUILD 2022-04-28 20:44:01 UTC (rev 1191715) @@ -1,26 +0,0 @@ -# Maintainer: Anatol Pomozov - -pkgname=linenoise-ng -pkgver=1.0.1 -pkgrel=1 -pkgdesc='A small self-contained alternative to readline and libedit that supports UTF-8 and Windows' -arch=(x86_64) -url='https://github.com/arangodb/linenoise-ng' -license=(BSD) -makedepends=('cmake') -source=(linenoise-ng-$pkgver.zip::https://github.com/arangodb/linenoise-ng/archive/v$pkgver.zip) -sha256sums=('af16575c73435601161d9e6bdfbc58983a78ec16fb3707c18df4171419379c54') - -build() { - cd linenoise-ng-$pkgver - cmake -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -S . \ - -B build - cmake --build build -} - -package() { - cd linenoise-ng-$pkgver - cmake --build build --target install -- DESTDIR="$pkgdir/" -} Copied: linenoise-ng/repos/community-x86_64/PKGBUILD (from rev 1191714, linenoise-ng/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-04-28 20:44:01 UTC (rev 1191715) @@ -0,0 +1,27 @@ +# Maintainer: Anatol Pomozov + +pkgname=linenoise-ng +pkgver=1.0.1 +pkgrel=2 +pkgdesc='A small self-contained alternative to readline and libedit that supports UTF-8 and Windows' +arch=(x86_64) +url='https://github.com/arangodb/linenoise-ng' +license=(BSD) +makedepends=('cmake') +source=(linenoise-ng-$pkgver.zip::https://github.com/arangodb/linenoise-ng/archive/v$pkgver.zip) +sha256sums=('af16575c73435601161d9e6bdfbc58983a78ec16fb3707c18df4171419379c54') + +build() { + cd linenoise-ng-$pkgver + cmake -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_CXX_FLAGS="$CXXFLAGS -ffat-lto-objects" \ + -S . \ + -B build + cmake --build build +} + +package() { + cd linenoise-ng-$pkgver + cmake --build build --target install -- DESTDIR="$pkgdir/" +}