[arch-commits] Commit in urlwatch (3 files)

Balló György bgyorgy at archlinux.org
Sat Aug 9 10:53:22 UTC 2014


    Date: Saturday, August 9, 2014 @ 12:53:21
  Author: bgyorgy
Revision: 117072

archrelease: copy trunk to community-any

Added:
  urlwatch/repos/
  urlwatch/repos/community-any/
  urlwatch/repos/community-any/PKGBUILD
    (from rev 117071, urlwatch/trunk/PKGBUILD)

----------+
 PKGBUILD |   34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

Copied: urlwatch/repos/community-any/PKGBUILD (from rev 117071, urlwatch/trunk/PKGBUILD)
===================================================================
--- repos/community-any/PKGBUILD	                        (rev 0)
+++ repos/community-any/PKGBUILD	2014-08-09 10:53:21 UTC (rev 117072)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: Skydrome <skydrome at i2pmail.org>
+# Contributor: Allan McRae <allan at archlinux.org>
+
+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"
+}




More information about the arch-commits mailing list