summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: befe98d59dc6ca725ea1fce56e34040e8ec96bda (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
# Maintainer: Andrea Scarpino <andrea@archlinux.org>

pkgname=blocky
pkgver=0.6
pkgrel=1
pkgdesc="DNS proxy as ad-blocker for local network"
arch=('x86_64' 'i686')
url="https://github.com/0xERR0R/blocky"
license=('Apache')
depends=('glibc')
makedepends=('go-pie')
source=("$url/archive/v$pkgver.tar.gz")
sha256sums=('e99f9480b9efb0e06b33df686cfabb25bea0220f48e68eb0efe107f11caf785c')

build() {
    cd "$pkgname-$pkgver"
    make build
}

check() {
    cd "$pkgname-$pkgver"
    make test
}

package() {
    cd "$pkgname-$pkgver"
    install -Dm755 "bin/$pkgname" "$pkgdir/usr/bin/$pkgname"
}

# vim:set ts=4 sw=4 et: