summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1ce8928c0467b56c26269fdc4e6403d2d9fb50d4 (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
# Maintainer: AdmiringWorm <kim.nordmo@gmail.com>
pkgname=qutepart
pkgver=3.2.0
pkgrel=1
pkgdesc="Code editor component for PyQt and Pyside"
arch=('x86_64')
url="https://github.com/hlamer/qutepart"
license=('LGPL')
depends=("python-pyqt5")
makedepends=("python-setuptools")
source=("$pkgname-$pkgver.tar.gz::https://github.com/hlamer/${pkgname}/archive/v${pkgver}.tar.gz")
sha256sums=('1e58699b3306077b9faa18baa30cff3edc63eb2058c33f11f4b5aed8bbf3e599')

build() {
	cd "$pkgname-$pkgver"
	python setup.py build
}

check() {
	cd "$pkgname-$pkgver"
	python tests/run_all.py
}

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