summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c5d830353ddf685bdefc8c021b41bef3e8c163e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: justforlxz <justforlxz@gmail.com>

pkgname=chinadns-ng-zfl9
_pkgbase=chinadns-ng
pkgver=2023.06.01
pkgrel=1
pkgdesc='chinadns next generation, refactoring with epoll and ipset'
arch=('x86_64' 'aarch64')
url="https://github.com/zfl9/chinadns-ng"
license=('GPL3')
provide=('chinadns-ng')
source=("$_pkgbase-$pkgver::https://github.com/zfl9/chinadns-ng/archive/refs/tags/2023.06.01.tar.gz")
sha512sums=('SKIP')

build() {
  cd $_pkgbase-$pkgver
  make DESTDIR=/usr/bin
}

package() {
  cd $_pkgbase-$pkgver
  make DESTDIR=$pkgdir/usr/bin/ install
}