summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4947d07090cf72613616bffdb773c6a06e2fca1c (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
32
33
34
35
36
37
38
39
40
41
# Maintainer:  Evaggelos Balaskas <evaggelos [_AT_] balaskas [_DOT]_ gr>
pkgname=tallow
pkgdesc="Block hosts that attempt to bruteforce SSH using the journald API"

pkgver="21"
pkgrel=1

arch=('x86_64')
license=('GPL3')

makedepends=(
    'make'
    'gcc'
    'pkg-config'
    'grep'
    'gawk'
)

url="https://github.com/clearlinux/${pkgname}"

source=(
        ${url}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.xz
)

sha256sums=(
    '34e2031815f954f9f1053432533ce938a06759dbdcc3d4a08f3c756324128345'
)

build() {
    cd "${pkgname}-${pkgver}"
    ./configure --prefix=/usr \
      --with-systemdsystemunitdir=/usr/lib/systemd/system
    make
}

package() {
    cd "${pkgname}-${pkgver}"
    make install DESTDIR=${pkgdir}
}

# vim: sts=2 sw=2 ts=2 et