summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5ceb718d6ca5041c1470d8348e2f35d93a8ced8d (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
# Maintainer: Caleb Maclennan <caleb@alerque.com>

pkgname=gphotos-sync
pkgver=2.14.2
pkgrel=1
pkgdesc='Google Photos and Albums backup tool'
arch=(any)
url="https://github.com/gilesknap/$pkgname"
license=('MIT')
_py_deps=('attrs'
          'exif'
          'appdirs'
          'requests-oauthlib'
          'yaml'
          'psutil')
depends=('python'
         "${_py_deps[@]/#/python-}")
makedepends=('python-setuptools')
source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$pkgname-$pkgver.tar.gz")
sha256sums=('713773dfb7798636382b1efa3efda6d812794ed8d8eaa38e7ec30522ccaa02f7')

build() {
	cd "$pkgname-$pkgver"
	python setup.py build
}

package() {
    cd "$pkgname-$pkgver"
    python setup.py install --root="$pkgdir" --optimize=1 --skip-build
}