aboutsummaryrefslogtreecommitdiffstats
path: root/testing/arandr/APKBUILD
blob: 202534a534a11a9f448dfe47bae8bbcbf064ca93 (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
29
30
31
32
33
34
35
36
37
38
39
# Contributor: ScrumpyJack <scrumpyjack@me.com>
# Maintainer:
pkgname=arandr
pkgver=0.1.7.1
pkgrel=0
pkgdesc="ARandR provides a simple visual front end for XRandR"
url="http://christian.amsuess.com/tools/arandr/"
arch="noarch"
license="GPL3"
depends="py-gtk xrandr"
depends_dev=""
makedepends="py-docutils gettext $depends_dev"
install=""
subpackages="$pkgname-doc $pkgname-lang"
source="http://christian.amsuess.com/tools/arandr/files/${pkgname}-${pkgver}.tar.gz"

_builddir="$srcdir/$pkgname-$pkgver"
prepare() {
	local i
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

build() {
	cd "$_builddir"
}

package() {
	cd "$_builddir"
	python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}

md5sums="b99c596827558f50b25a3972455237e4  arandr-0.1.7.1.tar.gz"
sha256sums="ab73aa90d05d48b95a01afdad37b7c21a2cdf4af98f7d78b2502b819382748da  arandr-0.1.7.1.tar.gz"
sha512sums="1e3b8ec0d98d38515a159c7695abefd7451a3fa6b7d43641766c997aab63152dfa76c2d9208ba2848ce588dd033a8e85ae31b97acdd4aa5e450fd87725cc21ce  arandr-0.1.7.1.tar.gz"