summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 57b7f13ce6f0eda4846811782bc35bd9c79d7fd8 (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
# $Id$
# Maintainer: Tobias Rueetschi <tr@brief.li>
# Contributor: Tobias Rueetschi <tr@brief.li>

pkgname='python-leo'
pkgver=1.0
pkgrel=1
pkgdesc='python library for leo dict'
arch=('any')
url='https://github.com/keachi/python-leo'
license=('Apache')
group=()
depends=(
    'python'
    'python-beautifulsoup4'
    'python-requests'
    'python-lxml'
)
optdepends=()
makedepends=(
    'python'
    'git'
    'python-setuptools'
)
checkdepends=()
source=("https://github.com/keachi/python-leo/archive/v${pkgver}.tar.gz")
sha256sums=('1b6e716f1c66ef4a9f083f1e7190d48d41a4edc4f985babb2babfeffea32eb18')

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

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