[arch-commits] Commit in anewer/repos (community-x86_64 community-x86_64/PKGBUILD)

Kpcyrd kpcyrd at archlinux.org
Wed Jun 2 01:16:16 UTC 2021


    Date: Wednesday, June 2, 2021 @ 01:16:16
  Author: kpcyrd
Revision: 953140

archrelease: copy trunk to community-x86_64

Added:
  anewer/repos/community-x86_64/
  anewer/repos/community-x86_64/PKGBUILD
    (from rev 953139, anewer/trunk/PKGBUILD)

----------+
 PKGBUILD |   30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

Copied: anewer/repos/community-x86_64/PKGBUILD (from rev 953139, anewer/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2021-06-02 01:16:16 UTC (rev 953140)
@@ -0,0 +1,30 @@
+# Maintainer: kpcyrd <kpcyrd[at]archlinux[dot]org>
+
+pkgname=anewer
+pkgver=0.1.5
+pkgrel=1
+pkgdesc="anewer appends lines from stdin to a file if they don't already exist in the file"
+url='https://github.com/ysf/anewer'
+arch=('x86_64')
+license=('GPL3')
+makedepends=('cargo')
+source=(https://github.com/ysf/${pkgname}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
+b2sums=('3ddb4baf7ade00fcab0962f63bb6b5b3a7c09251451673414b15dfd2f13d7abe53156123569b51b9abfc64ea36ff3225c21a28a4df6c2bacc0fcfd017c2735bb')
+
+build() {
+  cd ${pkgname}-${pkgver}
+  cargo build --release --locked
+}
+
+check() {
+  cd ${pkgname}-${pkgver}
+  cargo test --release --locked
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  install -Dm 755 -t "${pkgdir}/usr/bin" \
+    target/release/anewer
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list