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

Sven-Hendrik Haase svenstaro at archlinux.org
Mon May 13 14:53:47 UTC 2019


    Date: Monday, May 13, 2019 @ 14:53:47
  Author: svenstaro
Revision: 467144

Move sd from AUR

Added:
  sd/
  sd/repos/
  sd/trunk/
  sd/trunk/PKGBUILD

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

Added: sd/trunk/PKGBUILD
===================================================================
--- sd/trunk/PKGBUILD	                        (rev 0)
+++ sd/trunk/PKGBUILD	2019-05-13 14:53:47 UTC (rev 467144)
@@ -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