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

pkgname=dns2tcp-zfl9
_pkgbase=dns2tcp
pkgver=1.1.0
pkgrel=1
pkgdesc='utility to convert dns query from udp to tcp'
arch=('x86_64' 'aarch64')
url="https://github.com/zfl9/dns2tcp"
license=('GPL3')
conflicts=('dns2tcp')
provides=('dns2tcp')
depends=()
source=("$_pkgbase-$pkgver::https://github.com/zfl9/dns2tcp/archive/refs/tags/v${pkgver}.tar.gz")
sha512sums=('SKIP')

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

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