APKBUILD 844 Bytes
Newer Older
1
# Contributor: ScrumpyJack <scrumpyjack@st.ilet.to>
2
# Maintainer: ScrumpyJack <scrumpyjack@st.ilet.to>
ScrumpyJack's avatar
ScrumpyJack committed
3
pkgname=arandr
4
pkgver=0.1.9
5
pkgrel=2
ScrumpyJack's avatar
ScrumpyJack committed
6 7 8 9 10
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"
11
makedepends="py2-docutils gettext"
ScrumpyJack's avatar
ScrumpyJack committed
12 13 14
subpackages="$pkgname-doc $pkgname-lang"
source="http://christian.amsuess.com/tools/arandr/files/${pkgname}-${pkgver}.tar.gz"

15
builddir="$srcdir/$pkgname-$pkgver"
ScrumpyJack's avatar
ScrumpyJack committed
16

17
check() {
18
	cd "$builddir"
19 20
	./arandr --help > /dev/null
	./unxrandr --help > /dev/null
ScrumpyJack's avatar
ScrumpyJack committed
21 22 23
}

package() {
24
	cd "$builddir"
25
	python2 setup.py install --prefix=/usr --root="$pkgdir"
ScrumpyJack's avatar
ScrumpyJack committed
26 27
}

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