summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoffrey2019-01-14 15:56:50 +0000
committerJoffrey2019-01-14 15:56:50 +0000
commit7dcd3bc2d18bcdc18f5c6171e4a0676f5360e82c (patch)
tree1f7e57311c8e0249b2b6972b1c088c486a46d892
downloadaur-7dcd3bc2d18bcdc18f5c6171e4a0676f5360e82c.tar.gz
Initial commit
-rw-r--r--.SRCINFO17
-rw-r--r--.gitignore3
-rw-r--r--PKGBUILD17
3 files changed, 37 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..4fb9b4f7789
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = blocklist
+ pkgdesc = Command-line tool for download and write blocklists
+ pkgver = 0.1.1
+ pkgrel = 1
+ url = https://github.com/Joffr3y/blocklist
+ arch = i686
+ arch = x86_64
+ arch = armv7h
+ arch = armv6h
+ arch = aarch64
+ license = GPL3
+ depends = python-setuptools
+ source = blocklist-0.1.1.tar.gz::https://files.pythonhosted.org/packages/source/b/blocklist/blocklist-0.1.1.tar.gz
+ sha256sums = 062c390358560ea29c57372cb916a0e95c27714551b21cad80f7ba96056b83f5
+
+pkgname = blocklist
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..f849d86732b
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+*.tar.gz
+pkg/
+src/
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..93acd5e32e2
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,17 @@
+# Maintainer: Joffrey <j-off@live.fr>
+
+pkgname=blocklist
+pkgver=0.1.1
+pkgrel=1
+pkgdesc='Command-line tool for download and write blocklists'
+arch=('i686' 'x86_64' 'armv7h' 'armv6h' 'aarch64')
+url="https://github.com/Joffr3y/$pkgname"
+license=('GPL3')
+depends=('python-setuptools')
+source=("$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/${pkgname:0:1}/$pkgname/$pkgname-$pkgver.tar.gz")
+sha256sums=('062c390358560ea29c57372cb916a0e95c27714551b21cad80f7ba96056b83f5')
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ python './setup.py' install --root="$pkgdir" --optimize=1
+}