summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD48
1 files changed, 26 insertions, 22 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 0747bbc5294..df307c0b93e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,30 +1,34 @@
-# Maintainer: Drew DeVault <sir@cmpwn.com>
-pkgname="tootstream"
-pkgver=0.3.3
+# Maintainer: Daniel Moch <daniel AT danielmoch DOT com>
+# Contributor: Drew DeVault <sir@cmpwn.com>
+pkgname=tootstream
+pkgver=0.3.6
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"
- "python-emoji"
-)
-makedepends=("python-distribute")
-source=("$pkgname-$pkgver.tar.gz::https://github.com/magicalraccoon/${pkgname}/archive/${pkgver}.tar.gz")
-sha512sums=('8c311447246f3273901432aac6742a025ee6f12a119bcb761670cf725c609b83855afec4e99d1acc2b062943251e59cbe7942cc03d2935e0228dba9b3b56c54c')
+arch=(any)
+url="https://github.com/magicalraccoon/${pkgname}"
+license=(MIT)
+depends=(python-mastodon
+ python-humanize
+ python-click
+ python-colored
+ python-emoji)
+makedepends=(python-distribute)
+source=("${pkgname}-${pkgver}.tar.gz::https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz")
+sha256sums=('07ca36cca8b901e2ad5d8cd44217b26f579a143b463b8d1caa6abc40df4d0396')
+
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ sed -ie 's/Mastodon.py==1\.3\.1/Mastodon.py/g' requirements.txt
+}
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
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ python ./setup.py build
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- python setup.py install --root="$pkgdir" --optimize=1
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ python setup.py install --root="$pkgdir" --optimize=1
}
+
+# vim: ft=PKGBUILD sts=2 sw=2: