diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2016-04-12 19:45:07 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-04-12 19:46:52 +0000 |
commit | 5d15b83156b38e9bc8de0617af36810eb8e6de3c (patch) | |
tree | c41f624b37d945449084a4dec384a9ce92e77bfb /community/arandr | |
parent | 08c56e98a94cb53219db24aa31206047b67ab014 (diff) | |
download | aports-5d15b83156b38e9bc8de0617af36810eb8e6de3c.tar.bz2 aports-5d15b83156b38e9bc8de0617af36810eb8e6de3c.tar.xz |
community/arandr: move from testing
Diffstat (limited to 'community/arandr')
-rw-r--r-- | community/arandr/APKBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/community/arandr/APKBUILD b/community/arandr/APKBUILD new file mode 100644 index 0000000000..c1f5cc310a --- /dev/null +++ b/community/arandr/APKBUILD @@ -0,0 +1,39 @@ +# Contributor: ScrumpyJack <scrumpyjack@st.ilet.to> +# Maintainer: +pkgname=arandr +pkgver=0.1.9 +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="d53faecdc02292b648f554658d9bd99e arandr-0.1.9.tar.gz" +sha256sums="bb2b57dc37787c4eb7c33c5136cea3829d1b885862cdd827f16ef51e9f0a6ec4 arandr-0.1.9.tar.gz" +sha512sums="0b2bd62665a9680cf29132ddf0a1ba8eda6bc403b98245727e4c4613ac3e2a694d9268426a14bab35b8e79c7c9191cc224627fca56349acf20546a93d749f006 arandr-0.1.9.tar.gz" |