diff options
-rw-r--r-- | .SRCINFO | 21 | ||||
-rw-r--r-- | .gitignore | 3 | ||||
-rw-r--r-- | PKGBUILD | 27 |
3 files changed, 51 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..82f77b296c6c --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,21 @@ +pkgbase = python-gphotos-sync + pkgdesc = Google Photos and Albums backup with Google Photos Library API + pkgver = 2.14.2 + pkgrel = 1 + url = https://github.com/gilesknap/gphotos-sync + arch = any + license = MIT + makedepends = python + makedepends = python-setuptools + depends = python + depends = python-attrs + depends = python-exif + depends = python-appdirs + depends = python-requests-oauthlib + depends = python-pyaml + depends = python-psutil + source = https://github.com/gilesknap/gphotos-sync/archive/2.14.2.tar.gz + md5sums = 88fd01f0852c3410106ca75c4d4c92e8 + +pkgname = python-gphotos-sync + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..72a3ed3fe6e0 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +*.tar* +pkg/ +src/ diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..4e560b90f6f0 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Matthew Murray <matt@compti.me> +pkgname=python-gphotos-sync +_pkgname=gphotos-sync +pkgver=2.14.2 +pkgrel=1 +pkgdesc="Google Photos and Albums backup with Google Photos Library API" +arch=('any') +license=('MIT') +depends=("python" "python-attrs" "python-exif" "python-appdirs" "python-requests-oauthlib" "python-pyaml" "python-psutil") +makedepends=("python" "python-setuptools") +url="https://github.com/gilesknap/${_pkgname}" +source=("${url}/archive/$pkgver.tar.gz") +md5sums=('88fd01f0852c3410106ca75c4d4c92e8') + +build() { + cd "$srcdir/$_pkgname-$pkgver" + python setup.py build +} + +package() { + cd "$srcdir/$_pkgname-$pkgver" + python setup.py install --prefix=/usr --root "${pkgdir}" || return 1 + + # TODO Include service file +} + +# vim:set ts=2 sw=2 et: |