summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authortuftedocelot2015-07-04 14:56:51 -0500
committertuftedocelot2015-07-04 14:56:51 -0500
commit123105db6eb2315728f77e9c0d07fb17b84ebce6 (patch)
treedf2dc6095258c8d741bcb411dffad40ec8feb728 /PKGBUILD
downloadaur-cortex-git.tar.gz
import cortex-git
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..0a0f5b32265
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: tuftedocelot@fastmail.fm
+# Contributor: Lucas de Vries <lucas@glacicle.org>
+_pkgname=cortex
+pkgname=${_pkgname}-git
+pkgver=31
+pkgrel=2
+pkgdesc="An ncurses reddit browser and monitor"
+license=('MIT/X11')
+arch=('i686' 'x86_64')
+url="http://cortex.glacicle.org/"
+depends=('python')
+makedepends=('git')
+source=('git+https://github.com/GGLucas/cortex.git')
+md5sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/$_pkgname"
+ git rev-list --count HEAD
+}
+
+package() {
+ cd $_pkgname
+ install -D -m755 "$srcdir/$_pkgname/$_pkgname" "$pkgdir/usr/bin/$_pkgname"
+ install -D -m644 "$srcdir/$_pkgname/$_pkgname.1" "$pkgdir/usr/share/man/man1/$_pkgname.1"
+}