summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7da6fc1cabe3ff00ec2b259e9d740611fb6993a4 (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: Harriet O'Brien <harrietobrien@protonmail.com>
# Contributor: Letu Ren <fantasquex@gmail.com>

pkgname=python-cons
_pkgname=cons
pkgver=0.4.6
pkgrel=1
pkgdesc="An implementation of Lisp/Scheme-like cons in Python"
arch=('any')
url="https://github.com/pythological/python-cons/"
license=('LGPL3')
depends=(
    'python-logical-unification'
)
makedepends=(
    'python-setuptools'
)
source=("https://github.com/pythological/${pkgname}/archive/refs/tags/v${pkgver}.tar.gz")
sha256sums=('86f7729f8c9eb47392b94799d94da6f036847702956c26abc85d070f7dd54cc8')

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

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