diff options
author | ScrumpyJack <scrumpyjack@me.com> | 2014-11-05 09:16:26 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-11-13 08:49:06 +0100 |
commit | 1cfef3fec781a51afa274ad8d1e6e1843b8f4d01 (patch) | |
tree | d6f769368f2fe42c349222ff76a17919c4ab4974 /testing/arandr | |
parent | a871b8a7249a894b53416e4c4f481c8e18d851a5 (diff) | |
download | aports-1cfef3fec781a51afa274ad8d1e6e1843b8f4d01.tar.bz2 aports-1cfef3fec781a51afa274ad8d1e6e1843b8f4d01.tar.xz |
testing/arandr: new aport
http://christian.amsuess.com/tools/arandr/
ARandR provides a simple visual front end for XRandR
Diffstat (limited to 'testing/arandr')
-rw-r--r-- | testing/arandr/APKBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/testing/arandr/APKBUILD b/testing/arandr/APKBUILD new file mode 100644 index 0000000000..202534a534 --- /dev/null +++ b/testing/arandr/APKBUILD @@ -0,0 +1,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" |