summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d5df2c3b16e9cb13993ced8e9b4a3c10ae03bc6f (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: Carlos Franke <carlos_franke at carlosfranke dot net>
#Contributor: Kyle Keen <keenerd@gmail.com>

_pkgname=bdflib
pkgname=python-$_pkgname
pkgver=1.1.3
pkgrel=1
pkgdesc="A Python library for reading, writing and modifying bitmap fonts in BDF format"
url="https://gitlab.com/Screwtapello/bdflib"
arch=('any')
license=('GPL3')
depends=('python')
conflicts=("python2-bdflib" "bdflib-git")
provides=("bdflib")
options=(!emptydirs)
source=('https://files.pythonhosted.org/packages/87/3c/5d094c3299834546d361ec09f1a209d75efef50c2c8c51e31e61ec1c5f0a/bdflib-1.1.3.tar.gz')
sha256sums=('aa3f3ad5fb459f8d85fbfb19896116678a77b4c6fd689d3f1ba54bd868337641')

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

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