summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pcr/send-to-torrent/PKGBUILD19
1 files changed, 19 insertions, 0 deletions
diff --git a/pcr/send-to-torrent/PKGBUILD b/pcr/send-to-torrent/PKGBUILD
new file mode 100644
index 000000000..110ba0b1a
--- /dev/null
+++ b/pcr/send-to-torrent/PKGBUILD
@@ -0,0 +1,19 @@
+pkgname=send-to-torrent
+pkgver=0.0.3
+pkgrel=1
+pkgdesc="Share files from the file browser"
+arch=('any')
+url="http://repo.hackcoop.com.ar/send-to-torrent.git/"
+license=("AGPL3")
+source=("http://repo.hackcoop.com.ar/${pkgname}.git/snapshot/${pkgname}-${pkgver}.tar.xz")
+md5sums=('e9d465ebec3abd1e142731f53adf8cf2')
+depends=("bash" "mktorrent" "xdg-utils")
+optdepends=("libnotify: desktop notifications"
+ "transmission-cli: transmission support"
+ "opentracker: local sharing support")
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}/"
+
+ make TARGET="${pkgdir}" PREFIX="/usr" install
+}