diff options
author | Twann | 2021-04-20 17:49:10 +0200 |
---|---|---|
committer | Twann | 2021-04-20 17:49:10 +0200 |
commit | cc5a584168d73a0547eb56cf161043fccf879c11 (patch) | |
tree | f7ba50ff8c1e8de42cead81ee851017f26c653d8 | |
download | aur-cc5a584168d73a0547eb56cf161043fccf879c11.tar.gz |
initial commit
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | PKGBUILD | 26 |
2 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..1e11ecf823c5 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +pkgbase = tblock + pkgdesc = An anticapitalist ad-blocker that uses the hosts file + pkgver = 0.0.1 + pkgrel = 1 + url = https://tblock.codeberg.page + arch = any + license = GPL3 + makedepends = git + makedepends = make + depends = python>=3 + depends = python-urllib3 + depends = python-requests + depends = python-colorama + provides = tblock + source = tblock-0.0.1.tar.gz::https://codeberg.org/tblock/tblock/archive/0.0.1.tar.gz + sha512sums = d66bbe66fa82b29800a1f3c1f03ac8aff0f40f329176c9d062865b8ee5cfc8256310e945465ed224f573cdd1518c6d8f47d9e718d2506bae24b47701c5af6f62 + +pkgname = tblock + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..1465f699131d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Twann <twann@ctemplar.com> + +pkgname=tblock +pkgver=0.0.1 +pkgrel=1 +provides=("$pkgname") +pkgdesc="An anticapitalist ad-blocker that uses the hosts file" +url="https://tblock.codeberg.page" +arch=("any") +license=("GPL3") +makedepends=("git" "make") +depends=("python>=3" "python-urllib3" "python-requests" "python-colorama") +source=("${pkgname}-${pkgver}.tar.gz::https://codeberg.org/tblock/tblock/archive/$pkgver.tar.gz") +sha512sums=("d66bbe66fa82b29800a1f3c1f03ac8aff0f40f329176c9d062865b8ee5cfc8256310e945465ed224f573cdd1518c6d8f47d9e718d2506bae24b47701c5af6f62") + +build() +{ + cd "$srcdir/$pkgname" + make +} + +package() +{ + cd "$srcdir/$pkgname" + make install DESTDIR="$pkgdir/usr" +} |