makedeb


tuir 1.29.0-0


Browse Reddit from your terminal (rtv fork)

Click here to go back to the commit logs for tuir.

Commit:


Hash: 4b15c84a41732b3c54a0a44f671f88140a945b95

Message: Package adopted and adopted Python guidelines

Diff


diff --git a/.SRCINFO b/.SRCINFO
index 4ca3e53..0527dc4 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
 pkgbase = tuir
-	pkgdesc = Terminal UI for Reddit, forked from discontinued rtv
+	pkgdesc = Browse Reddit from your terminal
 	pkgver = 1.29.0
-	pkgrel = 1
+	pkgrel = 2
 	url = https://gitlab.com/ajak/tuir/
 	arch = any
 	license = MIT
diff --git a/PKGBUILD b/PKGBUILD
index c910b68..9fc162e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,17 +1,24 @@
-# Maintainer: Sascha Appel <sascha.appel@gmail.com>
+# Maintainer: Frank Vanderham <twelve dot eighty at gmail dot com>
+# Contributor: Sascha Appel <sascha.appel@gmail.com>
 pkgname=tuir
 pkgver=1.29.0
-pkgrel=1
-pkgdesc="Terminal UI for Reddit, forked from discontinued rtv"
+pkgrel=2
+pkgdesc="Browse Reddit from your terminal"
 arch=('any')
 url="https://gitlab.com/ajak/tuir/"
 license=('MIT')
 depends=('python-beautifulsoup4' 'python-decorator' 'python-kitchen' 'python-six' 'python-requests')
 makedepends=('git' 'python-setuptools')
 source=("git+https://gitlab.com/ajak/tuir.git#tag=v$pkgver")
+md5sums=('SKIP')
+
+build() {
+    cd "$pkgname"
+    python setup.py build
+}
 
 package() {
-	cd "$pkgname"
-	python setup.py install --root="$pkgdir/" --optimize=1
+    cd "$pkgname"
+    python setup.py install --root="$pkgdir" --optimize=1 --skip-build
 }
-md5sums=('SKIP')
+