blob: 0a14015c44ebfb9a72d3b926cfecfa4c3add4437 (
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
26
27
28
29
30
31
|
# Maintainer: tuberry
_srcname=dns2tcp
pkgname=${_srcname}-git
pkgver=r94.10ed687
pkgrel=1
pkgdesc='Utility to convert dns query from udp to tcp'
arch=(i686 x86_64)
url=https://github.com/zfl9/${_srcname}
license=(AGPL3)
conflicts=(${_srcname})
provides=(${_srcname})
depends=(glibc)
source=(git+${url})
sha512sums=(SKIP)
pkgver() {
cd ${_srcname}
printf "r%s.%s" $( git rev-list --count HEAD ) $( git rev-parse --short HEAD )
}
build() {
cd ${_srcname}
make
}
package() {
cd ${_srcname}
make DESTDIR=${pkgdir}/usr/bin install
}
|