summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorfengkx2020-12-09 23:19:27 +0800
committerfengkx2020-12-09 23:19:27 +0800
commitecb3d3932a6a9ef3f489f089f1f476c0d543a048 (patch)
treecda3617002a1274334e3c80974918eebd2db0e11
parent79a7ee29c69725066aaf800ea5f92f94dceee3d2 (diff)
downloadaur-freedns-go-git.tar.gz
fix
-rw-r--r--PKGBUILD7
1 files changed, 3 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index dd33ce7c4b0..c1130c8115a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -36,14 +36,13 @@ build() {
}
package() {
- cd "$srcdir/${pkgname_raw}"
+ cd "$srcdir/${_pkgname_raw}"
osarch=$CARCH
echo "$osarch"
if [ "$osarch" == "x86_64" ]
then
osarch="amd64"
fi
- mkdir -p "$pkgdir/usr/bin"
- install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
- install -m +x "build/freedns-go-linux-$osarch" ${pkgdir}/usr/bin/freedns-go
+ install -Dm644 "$srcdir/${_pkgname_raw}/LICENSE" "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+ install -Dm +x "build/freedns-go-linux-$osarch" ${pkgdir}/usr/bin/freedns-go
}