[arch-commits] Commit in linenoise-ng/repos (2 files)
Anatol Pomozov
anatolik at archlinux.org
Mon Nov 25 00:26:22 UTC 2019
Date: Monday, November 25, 2019 @ 00:26:21
Author: anatolik
Revision: 533129
archrelease: copy trunk to community-x86_64
Added:
linenoise-ng/repos/community-x86_64/
linenoise-ng/repos/community-x86_64/PKGBUILD
(from rev 533128, linenoise-ng/trunk/PKGBUILD)
----------+
PKGBUILD | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
Copied: linenoise-ng/repos/community-x86_64/PKGBUILD (from rev 533128, linenoise-ng/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2019-11-25 00:26:21 UTC (rev 533129)
@@ -0,0 +1,26 @@
+# 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/"
+}
More information about the arch-commits
mailing list