summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO19
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD24
3 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..d1d711ed73c
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+# Generated by mksrcinfo v8
+# Sat Nov 18 20:14:25 UTC 2017
+pkgbase = tootstream
+ pkgdesc = Text interface for the Mastodon social network
+ pkgver = 0.3.0
+ pkgrel = 1
+ url = https://github.com/magicalraccoon/tootstream
+ arch = any
+ license = MIT
+ makedepends = python-distribute
+ depends = python-mastodon
+ depends = python-humanize
+ depends = python-click
+ depends = python-colored
+ source = tootstream-0.3.0.tar.gz::https://github.com/magicalraccoon/tootstream/archive/0.3.0.tar.gz
+ sha512sums = 99465fd3068475d6c047f16361e9ec0f758d338675f2c39fd05a0fb38e05230ec875bf8f0f6a352ece150c64689f9df7ffc37f49fadc5c2ca971519100486f8a
+
+pkgname = tootstream
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..0a2223f3641
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+*.tar.gz
+*.tar.xz
+src/
+pkg/
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..d3db155b7f9
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,24 @@
+# Maintainer: Drew DeVault <sir@cmpwn.com>
+pkgname="tootstream"
+pkgver=0.3.0
+pkgrel=1
+pkgdesc="Text interface for the Mastodon social network"
+arch=("any")
+url="https://github.com/magicalraccoon/tootstream"
+license=("MIT")
+depends=("python-mastodon" "python-humanize" "python-click" "python-colored")
+makedepends=("python-distribute")
+source=("$pkgname-$pkgver.tar.gz::https://github.com/magicalraccoon/${pkgname}/archive/${pkgver}.tar.gz")
+sha512sums=('99465fd3068475d6c047f16361e9ec0f758d338675f2c39fd05a0fb38e05230ec875bf8f0f6a352ece150c64689f9df7ffc37f49fadc5c2ca971519100486f8a')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ sed -ie 's/colored==1\.3\.4/colored/g' requirements.txt
+ sed -ie 's/click==6.6/click/g' requirements.txt
+ python ./setup.py build
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ python setup.py install --root="$pkgdir" --optimize=1
+}