summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 494c0b89aa3c14a1905bd245b26b3675ae01b781 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: Aleksandr Beliaev <trap000d@gmail.com>

_pkgname=seafobj
pkgname=python-$_pkgname
pkgver=8.0.6
pkgrel=1
pkgdesc="Python library for accessing seafile data model"
arch=('any')
url="https://github.com/haiwen/seafobj"
license=('Apache')
depends=('python')
makedepends=('python-setuptools')
source=("${url}/archive/v${pkgver}-server.tar.gz"
       "setup.py")
sha256sums=('c1b5aaea3d9c102e38c826dfd14c0410c8d5d598ca21a736cf4e0015a5d11f7f'
            '172f93541687378faeea5e3de4939af5dbd8c0e013486d518b191c00af2335ed'
           )

package() {
    cd "$srcdir/$_pkgname-$pkgver-server"
    python ../setup.py install --root="$pkgdir/" --optimize=1
}