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

Sven-Hendrik Haase svenstaro at archlinux.org
Mon May 13 15:13:09 UTC 2019


    Date: Monday, May 13, 2019 @ 15:13:09
  Author: svenstaro
Revision: 467145

archrelease: copy trunk to community-x86_64

Added:
  sd/repos/community-x86_64/
  sd/repos/community-x86_64/PKGBUILD
    (from rev 467144, sd/trunk/PKGBUILD)

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

Copied: sd/repos/community-x86_64/PKGBUILD (from rev 467144, sd/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2019-05-13 15:13:09 UTC (rev 467145)
@@ -0,0 +1,21 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
+# Contributor: Wesley Moore <wes at wezm.net>
+pkgname=sd
+pkgver=0.5.0
+pkgrel=1
+pkgdesc='Intuitive find & replace'
+arch=('x86_64')
+url="https://github.com/chmln/sd"
+license=('MIT')
+makedepends=('rust' 'cargo' 'git')
+source=("$pkgver.tar.gz::$url/archive/sd-$pkgver.tar.gz")
+sha256sums=('167940e76ce0dd0129832e1cc1302eef9318f9003d27d968fbcba912ce23bb1c')
+
+build() {
+  cd "$pkgname-$pkgname-$pkgver"
+  cargo build --release --locked
+}
+
+package() {
+    install -Dm755 "$srcdir/$pkgname-$pkgname-$pkgver/target/release/$pkgname" "$pkgdir/usr/bin/$pkgname"
+}



More information about the arch-commits mailing list