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

Daniel Micay thestinger at nymeria.archlinux.org
Wed May 8 06:00:58 UTC 2013


    Date: Wednesday, May 8, 2013 @ 08:00:57
  Author: thestinger
Revision: 90176

rust: use $pkgname for license directory name

Modified:
  rust/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-08 03:27:00 UTC (rev 90175)
+++ PKGBUILD	2013-05-08 06:00:57 UTC (rev 90176)
@@ -34,7 +34,7 @@
   cd rust-$pkgver
   make DESTDIR="$pkgdir" install
 
-  mkdir -p "$pkgdir/usr/share/vim" "$pkgdir/usr/share/licenses/rust"
+  mkdir -p "$pkgdir/usr/share/vim" "$pkgdir/usr/share/licenses/$pkgname"
 
   cp -a src/etc/vim "$pkgdir/usr/share/vim/vimfiles"
   find "$pkgdir/usr/share/vim" -type f -exec chmod 644 {} +
@@ -46,8 +46,8 @@
   install -Dm644 src/etc/gedit/share/gtksourceview-3.0/language-specs/rust.lang \
     "$pkgdir/usr/share/gtksourceview-3.0/language-specs/rust.lang"
 
-  install -m644 LICENSE-APACHE "$pkgdir/usr/share/licenses/rust"
-  install -m644 LICENSE-MIT "$pkgdir/usr/share/licenses/rust"
+  install -m644 LICENSE-APACHE "$pkgdir/usr/share/licenses/$pkgname"
+  install -m644 LICENSE-MIT "$pkgdir/usr/share/licenses/$pkgname"
 
   cd src/etc/emacs
   make




More information about the arch-commits mailing list