public
Created

PKGBUILD for cortex-git

  • Download Gist
PKGBUILD
Shell
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
# Contributor: Lucas de Vries <lucas@glacicle.org>
# Contribute: Scott Moak <scott.moak@mybrainoncode.com>
pkgname=cortex-git
_gitname=cortex
pkgver=7b29ca0
pkgrel=1
pkgdesc="An ncurses reddit browser and monitor"
license=('WTFPL')
arch=('i686' 'x86_64')
url="http://cortex.glacicle.org/"
depends=('python2' 'xli')
makedepends=('git')
source=('git://glacicle.org/application/cortex')
# Source can change so skip git checksum
md5sums=('SKIP')
 
pkgver() {
cd $_gitname
git describe --always | sed 's|-|.|g'
}
 
package() {
cd $_gitname
install -D -m755 "$srcdir/$_gitname/cortex" "$pkgdir/usr/bin/cortex"
install -D -m644 "$srcdir/$_gitname/cortex.1" "$pkgdir/usr/share/man/man1/cortex.1"
}

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.