aboutsummaryrefslogtreecommitdiffstats
path: root/testing/unify/APKBUILD
blob: 6cc71c70519fb02c65160bdb587a0867fbc8ba9f (plain) (blame)
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
29
30
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=unify
pkgver=0.4
pkgrel=1
pkgdesc="A strings modification tool for (single/double) quote"
url="https://github.com/myint/unify"
arch="noarch"
license="MIT"
depends="python3"
makedepends="python3-dev py3-setuptools"
source="$pkgname-$pkgver.tar.gz::https://github.com/myint/unify/archive/v$pkgver.tar.gz"
builddir="$srcdir"/$pkgname-$pkgver

build() {
	cd "$builddir"
	python3 setup.py build
}

check() {
	cd "$builddir"
	python3 setup.py test
}

package() {
	cd "$builddir"
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="dc06553f13480eca832ed40e632d63581471017a36d6fa7f360b324657ac135bb74e803f3082ee03d1d31977000cf7724ff249f4183fae6a1ca9cfd9e69346e6  unify-0.4.tar.gz"