blob: e7fcb4da9cfa1736067cebcc06e0eff79aaac453 (
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
41
|
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py-update-checker
_pkgname=update_checker
pkgver=0.10
pkgrel=0
pkgdesc="A python module that will check for package updates"
url="https://github.com/bboe/update_checker"
arch="noarch"
license="BSD"
depends="python"
depends_dev=""
makedepends="python-dev py-setuptools"
install=""
subpackages=""
source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$_pkgname-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
python setup.py build || return 1
}
package() {
cd "$_builddir"
python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}
md5sums="d890a78d7a9a50464ed243de265fb390 update_checker-0.10.tar.gz"
sha256sums="bc1a764c9f064f36ccb6b488c11196c6abdd4b95264458906e66539f51c9e71b update_checker-0.10.tar.gz"
sha512sums="b9cdff39fc244f56663de8882f3794811d8357b87b8b3b81445ca6aa51eadd1bda433fab3f52d218a72494403c4ab8dfe8eedf9e6b8c4ea5218f86f0a6e0a712 update_checker-0.10.tar.gz"
|