# $Id: PKGBUILD 194152 2016-10-31 13:48:24Z spupykin $ # Maintainer: Sergej Pupykin # Contributor: Eric Le Bras pkgname=ajaxterm pkgver=0.11 pkgrel=9 pkgdesc="A web based terminal" arch=('any') license=('GPL') url="https://github.com/antonylesuisse/qweb/tree/master/ajaxterm" depends=('python2') replaces=('ajaxterm-utf8-svn') backup=('etc/ajaxterm.conf') #_commit="HEAD" _commit="2eaa3e989782d8259a12c8cb7d6204433ae19264" #source=("ajaxterm-$pkgver-${_commit}.tar.gz::http://git.kirya.net/?p=ajaxterm.git;a=snapshot;h=${_commit};sf=tgz" source=("https://sources.archlinux.org/other/community/ajaxterm/ajaxterm-$pkgver-${_commit}.tar.gz" ajaxterm.service) md5sums=('0d5c9896f4af8f82610c00cc303e0d62' '5e5aa6598aad99193738441556e06864') build() { cd "$srcdir"/ajaxterm || cd "$srcdir"/ajaxterm-${_commit:0:7} cat debian/patches/series | while read A; do [ -z $A ] || patch -p1