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

Alexander Rødseth arodseth at archlinux.org
Fri Aug 4 12:17:29 UTC 2017


    Date: Friday, August 4, 2017 @ 12:17:28
  Author: arodseth
Revision: 248314

upgpkg: exa 0.7.0-1

Modified:
  exa/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-08-04 11:53:57 UTC (rev 248313)
+++ PKGBUILD	2017-08-04 12:17:28 UTC (rev 248314)
@@ -9,7 +9,7 @@
 arch=('x86_64' 'i686')
 url='https://the.exa.website/'
 license=('MIT')
-depends=('libssh2')
+depends=('libssh2' 'zlib')
 makedepends=('cmake' 'rust' 'cargo' 'git')
 source=("git+https://github.com/ogham/exa.git#tag=v$pkgver")
 md5sums=('SKIP')
@@ -19,7 +19,10 @@
 }
 
 package() {
-  make -C "$pkgname" PREFIX=/usr DESTDIR="$pkgdir" install
+  cd "$pkgname"
+
+  make PREFIX=/usr DESTDIR="$pkgdir" install
+  install -Dm644 LICENCE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
 }
 
 # vim: ts=2 sw=2 et:



More information about the arch-commits mailing list