summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: dfd5ac2e67c114519112d0aeb52b3ea43f8aea3c (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
# Maintainer: SZanko  <szanko at protonmail dot com>
pkgname=python-dictdiffer
pkgver=0.8.1
pkgrel=2
pkgdesc="Dictdiffer is a library that helps you to diff and patch dictionaries"
url="https://github.com/inveniosoftware/dictdiffer"
license=('MIT')
_name=${pkgname#python-}
source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
arch=('any')
makedepends=(
	'python-setuptools'
	'python-pip'
	'binutils'
)
depends=('python')
md5sums=('3185fe683d976282bf6313de14b7c7e9')

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

package() {
  cd "$srcdir/$_name-$pkgver"
  python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
  install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
}