diff options
Diffstat (limited to 'community/copy-router-config/APKBUILD')
-rw-r--r-- | community/copy-router-config/APKBUILD | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/community/copy-router-config/APKBUILD b/community/copy-router-config/APKBUILD index ae472f9119e..04f9a399fbd 100644 --- a/community/copy-router-config/APKBUILD +++ b/community/copy-router-config/APKBUILD @@ -8,19 +8,11 @@ url="https://www.offensive-security.com/" arch="noarch" license="GPL-2.0" depends="perl perl-cisco-copyconfig" -makedepends="" -source="http://ftp.tku.edu.tw/kali/pool/main/c/$pkgname/${pkgname}_${pkgver}.orig.tar.gz" -builddir="$srcdir/$pkgname-$pkgver" - -build() { - cd "$builddir" - return 0 -} +source="http://ftp.tku.edu.tw/kali/pool/main/c/$pkgname/${pkgname}_$pkgver.orig.tar.gz" package() { - cd "$builddir" for pkg in copy merge; do - install -Dm755 ${pkg}-router-config.pl "$pkgdir"/usr/bin/${pkg}-router-config.pl + install -Dm755 $pkg-router-config.pl "$pkgdir"/usr/bin/$pkg-router-config.pl done } |