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

Alexander Rødseth arodseth at archlinux.org
Thu Sep 17 15:10:09 UTC 2020


    Date: Thursday, September 17, 2020 @ 15:10:09
  Author: arodseth
Revision: 708692

Update for todo: libxcrypt rebuild

Modified:
  dropbear/trunk/PKGBUILD

----------+
 PKGBUILD |   15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-09-17 15:08:43 UTC (rev 708691)
+++ PKGBUILD	2020-09-17 15:10:09 UTC (rev 708692)
@@ -9,13 +9,13 @@
 pkgbase=dropbear
 pkgname=(dropbear dropbear-scp)
 pkgver=2020.80
-pkgrel=1
+pkgrel=2
 pkgdesc='Lightweight SSH server'
 arch=(x86_64)
 url='https://github.com/mkj/dropbear'
 license=(MIT)
 options=(emptydirs)
-makedepends=('git')
+makedepends=(git)
 validpgpkeys=('F7347EF2EE2E07A267628CA944931494F29C6773')
 source=("git+$url#commit=80e928170150f2f11ce6aeaa030870608bb6323b" # tag: DROPBEAR_2020.80
         localoptions.h
@@ -25,19 +25,20 @@
             '0c0e5b9d121b9d728fed92d6574f2a96d74e4f8a61169dc1e452488f43bb1484')
 
 prepare() {
-  cp -f localoptions.h "$pkgname/"
+  cp -f localoptions.h $pkgname/localoptions.h
 }
 
 build() {
   cd $pkgname
-  autoconf
-  autoheader
+  autoconf && autoheader
   ./configure --bindir=/usr/bin --prefix=/usr --sbindir=/usr/bin
-  make \
-    PROGRAMS='dbclient dropbear dropbearconvert dropbearkey scp' SCPPROGRESS=1
+  make PROGRAMS='dbclient dropbear dropbearconvert dropbearkey scp' \
+    SCPPROGRESS=1
 }
 
 package_dropbear() {
+  depends=(libxcrypt zlib)
+
   install -d "$pkgdir/etc/$pkgname"
   make -C $pkgbase install DESTDIR="$pkgdir"
   install -Dm644 $pkgname.service \


More information about the arch-commits mailing list