summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-04-08 22:58:59 -0300
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-04-08 22:58:59 -0300
commita55c6c9c722193f46cf36e5ee033e62e35487659 (patch)
tree730c81ef1e1956b09716193fab2c49595ea3af8f
parent7d8637474118fea4215487d42a7a4c237db16a20 (diff)
parent27fc57831d48a6d167ada7eea5f85296f5963165 (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
-rw-r--r--pcr/plowshare/PKGBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/pcr/plowshare/PKGBUILD b/pcr/plowshare/PKGBUILD
new file mode 100644
index 000000000..cc2fd08ef
--- /dev/null
+++ b/pcr/plowshare/PKGBUILD
@@ -0,0 +1,34 @@
+# Maintainer : speps <speps at aur dot archlinux dot org>
+# Contributor: breakdown <breakdown(at)archlinux(dot)us>
+
+pkgname=plowshare
+pkgver=snapshot_git20130401.7b374cb
+pkgrel=1
+pkgdesc="Command-line downloader and uploader for Rapidshare, Mediafire and other file sharing websites."
+arch=('any')
+url="http://code.google.com/p/plowshare/"
+license=('GPL')
+depends=('curl' 'recode' 'js')
+optdepends=('bash-completion: enable bash auto completion'
+ 'libcaca: ascii display for no X server'
+ 'tiv: ascii display for no X server'
+ 'aview: ascii display for no X server')
+conflicts=("$pkgname-git")
+source=("http://$pkgname.googlecode.com/files/${pkgname}4-${pkgver/_/-}.tar.gz")
+md5sums=('edcc004c9432c22644a44f97c2cd5992')
+
+package() {
+ cd "$srcdir/${pkgname}4-${pkgver/_/-}"
+
+ DESTDIR="$pkgdir/" PREFIX=/usr ./setup.sh install
+
+ # bash completion script
+ install -Dm644 etc/$pkgname.completion \
+ "$pkgdir/usr/share/bash-completion/completions/$pkgname"
+
+ # set CDIR for bash completion
+ sed -i "s|local/||" \
+ "$pkgdir/usr/share/bash-completion/completions/$pkgname"
+}
+
+# vim:set ts=2 sw=2 et: