summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoracerix2016-05-08 16:42:43 -0400
committeracerix2016-05-08 16:42:43 -0400
commit613d405e46f5bd35d5b8bf3b762d628f77e6d686 (patch)
tree42af92d0f943618c7eb617217d67755bce5b2f8f
downloadaur-613d405e46f5bd35d5b8bf3b762d628f77e6d686.tar.gz
Init
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD25
2 files changed, 44 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..0913a18fd87
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+# Generated by mksrcinfo v8
+# Sun May 8 20:42:33 UTC 2016
+pkgbase = btbrowse
+ pkgdesc = Opens bittorrent files or magnet links as a folder.
+ pkgver = 0.0.1
+ pkgrel = 1
+ url = https://github.com/acerix/btbrowse
+ arch = any
+ license = GPL3
+ depends = btfs
+ depends = xdg-utils
+ depends = python-xdg
+ depends = python-pytoml
+ depends = python-bencodepy
+ source = https://github.com/acerix/btbrowse/archive/0.0.1.tar.gz
+ sha256sums = ba9824f8d1cfd8423e4124d45a7050ea85234bc63530318015854b74fae14e89
+
+pkgname = btbrowse
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..38630d7e1dc
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Dylan <dylan@psilly.com>
+
+pkgname=btbrowse
+pkgver=0.0.1
+pkgrel=1
+pkgdesc='Opens bittorrent files or magnet links as a folder.'
+url='https://github.com/acerix/btbrowse'
+license=(GPL3)
+arch=(any)
+depends=(btfs xdg-utils python-xdg python-pytoml python-bencodepy)
+source=("$url/archive/$pkgver.tar.gz")
+sha256sums=('ba9824f8d1cfd8423e4124d45a7050ea85234bc63530318015854b74fae14e89')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ python setup.py build
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ python setup.py install --root="$pkgdir/" --optimize=2
+ install -Dm755 "$pkgname.sh" "$pkgdir/usr/bin/$pkgname"
+ install -Dm644 "$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
+ install -Dm644 "$pkgname.png" "$pkgdir/usr/share/pixmaps/$pkgname.png"
+}