blob: cd591f36c15cb7d0e38e373d43b8ba03bc02b44d (
plain)
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# Maintainer: nblock <nblock [/at\] archlinux DOT us>
pkgname=urlwatch-git
pkgver=2.25.r13.ga72e87c
pkgrel=1
pkgdesc="A tool for monitoring webpages for updates"
arch=('any')
url="http://thp.io/2008/urlwatch/"
license=('BSD')
depends=('python'
'python-appdirs'
'python-cssselect'
'python-keyring'
'python-lxml'
'python-minidb'
'python-requests'
'python-yaml')
makedepends=('git' 'python-setuptools')
provides=('urlwatch')
conflicts=('urlwatch')
source=("${pkgname}::git+https://github.com/thp/urlwatch.git")
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/$pkgname"
git describe --tags --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "$srcdir/$pkgname"
python setup.py build
}
package() {
cd "$srcdir/$pkgname"
python setup.py install --root="$pkgdir" --prefix=/usr --optimize=1
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}
# vim:set ts=2 sw=2 et:
|