Skip to content

Commit

Permalink
agafi: fix install. make use of pkgver
Browse files Browse the repository at this point in the history
  • Loading branch information
noptrix committed Oct 14, 2018
1 parent ae931b1 commit 2b81401
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/agafi/PKGBUILD
Expand Up @@ -11,14 +11,14 @@ groups=('blackarch' 'blackarch-windows' 'blackarch-exploitation')
arch=('any')
url='https://github.com/CoreSecurity/Agafi'
license=('custom:unknown')
source=('https://github.com/SecureAuthCorp/Agafi/archive/v1.1.tar.gz')
source=("https://github.com/SecureAuthCorp/Agafi/archive/v$pkgver.tar.gz")
sha512sums=('4556a938751460142f07988cdca812043db485338fde4d9fc78426a5765b8a5398b3ca31ed9f381068cae06128522ca67f9f8464a6ca98fd33d00226127383f2')

package() {
cd "$_pkgname"
cd "$_pkgname-$pkgver"

install -dm 755 "$pkgdir/opt/windows/archive/$pkgname"

cp -a --no-preserver=ownership * "$pkgdir/opt/windows/archive/$pkgname/"
cp -a --no-preserve=ownership * "$pkgdir/opt/windows/archive/$pkgname/"
}

0 comments on commit 2b81401

Please sign in to comment.