summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorarivarton2018-04-20 23:46:41 +0000
committerarivarton2018-04-20 23:46:41 +0000
commitb6db240b6af13c6f653463550ad557da59501df7 (patch)
tree3a5f28ee6478db50f22041df3c942440a78ff137
downloadaur-b6db240b6af13c6f653463550ad557da59501df7.tar.gz
Version 0.3.3
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD20
2 files changed, 36 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..a02db3dc39f
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = mtorrentd
+ pkgdesc = Search torrent websites and download .torrent files in terminal.
+ pkgver = 0.3.3
+ pkgrel = 1
+ url = https://github.com/arivarton/mtorrentd
+ arch = any
+ license = GPL3
+ depends = python3
+ depends = python-yaml
+ depends = python-requests
+ depends = python-beautifulsoup4
+ source = mtorrentd-0.3.3.tar.gz::https://github.com/arivarton/mtorrentd/archive/v0.3.3.tar.gz
+ sha256sums = 87bd2397ba838e1c0ddfceccb190094310273f9fcc9f8290bf2b723e0ed675ed
+
+pkgname = mtorrentd
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..d1e48c8d5dd
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,20 @@
+# Maintainer: Andri ViĆ°ar Tryggvason <packager@arivarton.com>
+pkgname=mtorrentd
+pkgver=0.3.3
+pkgrel=1
+pkgdesc='Search torrent websites and download .torrent files in terminal.'
+arch=('any')
+url='https://github.com/arivarton/mtorrentd'
+license=('GPL3')
+depends=('python3'
+ 'python-yaml'
+ 'python-requests'
+ 'python-beautifulsoup4'
+ )
+source=("$pkgname-$pkgver.tar.gz"::https://github.com/arivarton/mtorrentd/archive/v"$pkgver".tar.gz)
+sha256sums=('87bd2397ba838e1c0ddfceccb190094310273f9fcc9f8290bf2b723e0ed675ed')
+package() {
+ cd "${srcdir}"
+ python3 setup.py install --prefix=/usr --root="$pkgdir/"
+ install -Dm755 mtorrentd.py "${pkgdir}/usr/bin/mtorrentd"
+}