summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a335a2d670ea2cef78109a905a836f5db0becbb7 (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
# Maintainer: Sanpi <sanpi+aur@homecomputing.fr>
pkgname=shyaml
pkgver=0.6.2
pkgrel=2
pkgdesc='YAML for the command line'
arch=('x86_64')
url="https://github.com/0k/$pkgname"
license=('BSD')
depends=('python' 'python-yaml')
makedepends=()
replaces=('python-shyaml')
source=("git+https://github.com/0k/$pkgname")
sha256sums=('SKIP')

prepare() {
    cd "$srcdir/$pkgname"

    git checkout $pkgver
}

package() {
    cd "$srcdir/$pkgname"

    python setup.py install --root="$pkgdir/" --optimize=1
}