Date: Saturday, August 9, 2014 @ 12:52:31 Author: bgyorgy Revision: 117070
Move urlwatch from AUR with 11 votes Added: urlwatch/ urlwatch/trunk/ urlwatch/trunk/PKGBUILD ----------+ PKGBUILD | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) Added: urlwatch/trunk/PKGBUILD =================================================================== --- urlwatch/trunk/PKGBUILD (rev 0) +++ urlwatch/trunk/PKGBUILD 2014-08-09 10:52:31 UTC (rev 117070) @@ -0,0 +1,34 @@ +# $Id$ +# Maintainer: Balló György <ballogyor+arch at gmail dot com> +# Contributor: Skydrome <[email protected]> +# Contributor: Allan McRae <[email protected]> + +pkgname=urlwatch +pkgver=1.17 +pkgrel=2 +pkgdesc="A tool for monitoring webpages for updates" +arch=('any') +url="http://thp.io/2008/urlwatch/" +license=('BSD') +depends=('python2-futures') +source=("http://thp.io/2008/urlwatch/$pkgname-$pkgver.tar.gz") +md5sums=('fb15ca7d3723e3a385ee149d9b19c262') + +prepare() { + cd $pkgname-$pkgver + + # Python2 fix + sed -i 's@^#!.*python$@#!/usr/bin/python2@' lib/urlwatch/*.py +} + +build() { + cd $pkgname-$pkgver + python2 setup.py build +} + +package() { + cd $pkgname-$pkgver + python2 setup.py install --root="$pkgdir" + + install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" +} Property changes on: urlwatch/trunk/PKGBUILD ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +Id \ No newline at end of property
