blob: f2755c419e65966a33debe920b322d1bb158424f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# Maintainer: Héctor Molinero Fernández <hector at molinero dot dev>
# Contributor: Erazem Kokot <contact at erazem dot eu>
pkgname='hblock'
pkgver='3.4.0'
pkgrel='1'
pkgdesc='Adblocker that creates a hosts file from multiple sources'
arch=('any')
url='https://github.com/hectorm/hblock'
license=('MIT')
depends=('curl')
source=("https://github.com/hectorm/${pkgname}/archive/v${pkgver}.tar.gz")
sha256sums=('762dbe5f2a0ea84078b194190f4fb51b9fe3e6ef043c1899fdda6a083328225f')
check() {
cd -- "${pkgname:?}-${pkgver:?}"
make test
}
package() {
cd -- "${pkgname:?}-${pkgver:?}"
make DESTDIR="${pkgdir:?}" prefix="/usr" install
}
|