diff options
author | Erazem Kokot | 2019-03-16 19:53:09 +0100 |
---|---|---|
committer | Erazem Kokot | 2019-03-16 19:53:09 +0100 |
commit | cf6a05af9b34f3f3223d2785d76c6cb4569827ee (patch) | |
tree | deb78c31a3084bcde9b314dc9269965c79c1aac1 | |
parent | a30fe88697545a8880ed2a9023b342e1bda379a1 (diff) | |
download | aur-cf6a05af9b34f3f3223d2785d76c6cb4569827ee.tar.gz |
Update to version 2.0.6
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 17 |
2 files changed, 13 insertions, 12 deletions
@@ -1,13 +1,13 @@ pkgbase = hblock pkgdesc = An adblocker that creates a hosts file from automatically downloaded blacklists - pkgver = 2.0.5 - pkgrel = 5 + pkgver = 2.0.6 + pkgrel = 1 url = https://github.com/hectorm/hblock arch = any license = MIT depends = bash - source = https://github.com/hectorm/hblock/archive/v2.0.5.tar.gz - sha256sums = 2de6856a863e1901d03f6566ed7b425778e65484b7f62c2ebe7c2b2f6fd23363 + source = https://github.com/hectorm/hblock/archive/v2.0.6.tar.gz + sha256sums = 267cad304a4618e12ca1768c11db7aa1769d0b9ba3ba6a4d758c5e2b712ff0cd pkgname = hblock @@ -1,21 +1,22 @@ # Maintainer: Erazem Kokot <contact at erazem dot eu> pkgname='hblock' -pkgver=2.0.5 -pkgrel=5 +pkgver=2.0.6 +pkgrel=1 pkgdesc='An adblocker that creates a hosts file from automatically downloaded blacklists' arch=('any') url='https://github.com/hectorm/hblock' license=('MIT') depends=('bash') -sha256sums=('2de6856a863e1901d03f6566ed7b425778e65484b7f62c2ebe7c2b2f6fd23363') +sha256sums=('267cad304a4618e12ca1768c11db7aa1769d0b9ba3ba6a4d758c5e2b712ff0cd') source=("https://github.com/hectorm/${pkgname}/archive/v${pkgver}.tar.gz") +build() { + cd "${pkgname}-${pkgver}" + make +} + package() { cd "${pkgname}-${pkgver}" - install -Dm 0755 hblock "${pkgdir}/usr/bin/hblock" - install -Dm 0644 resources/systemd/hblock.service "${pkgdir}/usr/lib/systemd/system/hblock.service" - install -Dm 0644 resources/systemd/hblock.timer "${pkgdir}/usr/lib/systemd/system/hblock.timer" - install -Dm 0644 LICENSE.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" - #make DESTDIR="${pkgdir}/" SKIP_SERVICE_START=1 install + make DESTDIR="${pkgdir}/" install } |