summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6df7b7f64175d9791def46b7d9739c6d252860f3 (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: Richard Neumann aka. schard <mail at richard dash neumann period de>

_pkgbase='functoolsplus'
pkgname="python-${_pkgbase}-git"
pkgver=r28.36621d5
pkgrel=1
pkgdesc='Even higher-order functions and operations on callable objects'
arch=('any')
url="https://gitlab.com/HOMEINFO/${_pkgbase}"
license=('GPLv3')
depends=('python')
makedepends=('git' 'python')
provides=("python-${_pkgbase}")
conflicts=("python-${_pkgbase}")
source=("${_pkgbase}::git+${url}.git")
md5sums=('SKIP')
pkgdir='pkg'
srcdir='src'


pkgver() {
  cd "${_pkgbase}" || exit 1
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}


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