summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 68f3ef097ca21a584a7d7043fdba1242eff0363d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
pkgname=python-brother_ql
pkgver=0.9.4
pkgrel=2
pkgdesc="Python package for the raster language protocol of the Brother QL series label printers"
url="https://github.com/pklaus/brother_ql"
depends=('python' 'python-attrs' 'python-click' 'python-future' 'python-packbits' 'python-pillow>=3.3.0')
optdepends=('python-pyusb')
makedepends=('python-setuptools')
license=('GPL-3.0')
arch=('any')
source=("https://files.pythonhosted.org/packages/source/b/brother_ql/brother_ql-$pkgver.tar.gz")
sha256sums=('1f5c57a039f012c9c204397f470001f76ebb7483421ebde985d0cb3c614e8660')

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

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