summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a220003b92dec77bd16d992715c80a7294d42882 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
pkgname=python-brother_ql
pkgver=0.9.4
pkgrel=1
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-future' 'python-packbits' 'python-pillow')
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 
}