summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorjustforlxz2021-04-29 14:17:17 +0800
committerjustforlxz2021-04-29 14:17:17 +0800
commit6fdf497ec3feaf3b83b0ab80fc255916845db0c7 (patch)
tree598cf59deb2bfbb8bfb0b228251cf2cfe32e0775
parente99ffcf54c480dfd86a611583123eba0628b9608 (diff)
downloadaur-6fdf497ec3feaf3b83b0ab80fc255916845db0c7.tar.gz
update
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD6
2 files changed, 4 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2052910b6dd4..fe5524226e96 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -5,7 +5,7 @@ pkgbase = chinadns-ng-zfl9
url = https://github.com/zfl9/chinadns-ng
arch = x86_64
license = GPL3
- source = _-latest::https://github.com/zfl9/chinadns-ng/archive/refs/tags/latest.tar.gz
+ source = chinadns-ng-latest::https://github.com/zfl9/chinadns-ng/archive/refs/tags/latest.tar.gz
sha512sums = SKIP
pkgname = chinadns-ng-zfl9
diff --git a/PKGBUILD b/PKGBUILD
index eee2d169be26..1f9f2f0e2ee3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,15 +9,15 @@ arch=('x86_64')
url="https://github.com/zfl9/chinadns-ng"
license=('GPL3')
depends=()
-source=("_$pkgbase-$pkgver::https://github.com/zfl9/chinadns-ng/archive/refs/tags/latest.tar.gz")
+source=("$_pkgbase-$pkgver::https://github.com/zfl9/chinadns-ng/archive/refs/tags/latest.tar.gz")
sha512sums=('SKIP')
build() {
- cd _$pkgbase-$pkgver
+ cd $_pkgbase-$pkgver
make DESTDIR=/usr/bin
}
package() {
- cd _$pkgbase-$pkgver
+ cd $_pkgbase-$pkgver
make DESTDIR=$pkgdir/usr/bin/ install
}