Commit 4313e0e4 authored by Roberto Oliveira's avatar Roberto Oliveira
Browse files

community/arandr: modernize and add simple check

parent f6388b22
......@@ -2,29 +2,28 @@
# Maintainer: ScrumpyJack <scrumpyjack@st.ilet.to>
pkgname=arandr
pkgver=0.1.9
pkgrel=1
pkgrel=2
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="py2-docutils gettext"
install=""
subpackages="$pkgname-doc $pkgname-lang"
source="http://christian.amsuess.com/tools/arandr/files/${pkgname}-${pkgver}.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"
build() {
check() {
set -x
cd "$builddir"
./arandr --help > /dev/null
./unxrandr --help > /dev/null
}
package() {
cd "$builddir"
python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1
python2 setup.py install --prefix=/usr --root="$pkgdir"
}
md5sums="d53faecdc02292b648f554658d9bd99e arandr-0.1.9.tar.gz"
sha256sums="bb2b57dc37787c4eb7c33c5136cea3829d1b885862cdd827f16ef51e9f0a6ec4 arandr-0.1.9.tar.gz"
sha512sums="0b2bd62665a9680cf29132ddf0a1ba8eda6bc403b98245727e4c4613ac3e2a694d9268426a14bab35b8e79c7c9191cc224627fca56349acf20546a93d749f006 arandr-0.1.9.tar.gz"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment