blob: d484a1ef2aef704438a6d1fce79c2f6e133139a9 (
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
|
# Maintainer: Sara Jakša <sarajaksa@sarajaksa.eu>
_pkgname=python2-pytumblr
pkgname=$_pkgname-git
pkgver=0.0.6.r112.cbdd6c9
pkgrel=1
pkgdesc="Python2 wrapper for Tumblr API"
arch=('any')
url="https://github.com/tumblr/pytumblr"
license=('Apache')
depends=('python2' 'python2-oauth2')
makedepends=('python2-setuptools' 'git')
provides=($_pkgname)
conflicts=($_pkgname)
source=("pytumblr::git+https://github.com/tumblr/pytumblr")
source=('git+https://github.com/tumblr/pytumblr#commit=cbdd6c9da15679bffff719a4b6a81fa66ec5783b')
sha256sums=('SKIP')
pkgver() {
cd "${srcdir}/pytumblr"
printf "%s.r%s.%s" "$(python setup.py --version)" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "${srcdir}/pytumblr"
python2 setup.py install --root="${pkgdir}/"
}
|