summaryrefslogtreecommitdiff
path: root/~lukeshu/terminal-colors/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to '~lukeshu/terminal-colors/PKGBUILD')
-rw-r--r--~lukeshu/terminal-colors/PKGBUILD23
1 files changed, 23 insertions, 0 deletions
diff --git a/~lukeshu/terminal-colors/PKGBUILD b/~lukeshu/terminal-colors/PKGBUILD
new file mode 100644
index 000000000..662e5b5ef
--- /dev/null
+++ b/~lukeshu/terminal-colors/PKGBUILD
@@ -0,0 +1,23 @@
+# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>
+
+pkgname=terminal-colors
+pkgver=1.3
+pkgrel=1
+pkgdesc="Displays charts for 256/88/16 terminal color modes. Also supports converting between 256/88 color values."
+arch=('any')
+url="http://zhar.net/projects/shell/"
+license=('GPL3')
+depends=('python2')
+source=("terminal-colors.py::http://zhar.net/projects/shell/terminal-colors")
+
+build() {
+ cd "$srcdir"
+ sed 's@/usr/bin/env python$@/usr/bin/env python2@' < terminal-colors.py > terminal-colors
+}
+
+package() {
+ cd "$srcdir"
+ install -D -m755 terminal-colors "$pkgdir/usr/bin/terminal-colors"
+}
+
+md5sums=('30e3ab6cde416df110110244ce40eb94')