aboutsummaryrefslogtreecommitdiffstats
path: root/community/arandr/APKBUILD
blob: 7396643d69fce59d20dcaed0c2b50cde9b68ee87 (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
# Contributor: ScrumpyJack <scrumpyjack@st.ilet.to>
# Maintainer: ScrumpyJack <scrumpyjack@st.ilet.to>
pkgname=arandr
pkgver=0.1.9
pkgrel=2
pkgdesc="ARandR provides a simple visual front end for XRandR"
url="http://christian.amsuess.com/tools/arandr/"
arch="noarch"
license="GPL-3.0"
depends="py-gtk xrandr"
makedepends="py2-docutils gettext"
subpackages="$pkgname-doc $pkgname-lang"
source="http://christian.amsuess.com/tools/arandr/files/${pkgname}-${pkgver}.tar.gz"

builddir="$srcdir/$pkgname-$pkgver"

check() {
	cd "$builddir"
	./arandr --help > /dev/null
	./unxrandr --help > /dev/null
}

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

sha512sums="0b2bd62665a9680cf29132ddf0a1ba8eda6bc403b98245727e4c4613ac3e2a694d9268426a14bab35b8e79c7c9191cc224627fca56349acf20546a93d749f006  arandr-0.1.9.tar.gz"