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

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


    Date: Monday, May 13, 2019 @ 15:18:26
  Author: svenstaro
Revision: 467146

upgpkg: sd 0.5.0-2

Add license

Modified:
  sd/trunk/PKGBUILD

----------+
 PKGBUILD |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-05-13 15:13:09 UTC (rev 467145)
+++ PKGBUILD	2019-05-13 15:18:26 UTC (rev 467146)
@@ -2,7 +2,7 @@
 # Contributor: Wesley Moore <wes at wezm.net>
 pkgname=sd
 pkgver=0.5.0
-pkgrel=1
+pkgrel=2
 pkgdesc='Intuitive find & replace'
 arch=('x86_64')
 url="https://github.com/chmln/sd"
@@ -17,5 +17,6 @@
 }
 
 package() {
-    install -Dm755 "$srcdir/$pkgname-$pkgname-$pkgver/target/release/$pkgname" "$pkgdir/usr/bin/$pkgname"
+  install -Dm755 "$pkgname-$pkgname-$pkgver/target/release/$pkgname" "$pkgdir/usr/bin/$pkgname"
+  install -Dm644 "$pkgname-$pkgname-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
 }



More information about the arch-commits mailing list