aboutsummaryrefslogtreecommitdiffstats
path: root/community/arandr
diff options
context:
space:
mode:
authorScrumpyJack <scrumpyjack@st.ilet.to>2017-03-23 08:49:56 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2017-03-27 12:36:46 +0000
commit2e7328a8092d9db4e2ffa79690805a55dfff0ec6 (patch)
tree5cc9c085592b538f81b8380cd449a5c1c0a0d555 /community/arandr
parenta2d764bc7b875ef3a7c2caed7d5415f94da82ab4 (diff)
downloadaports-2e7328a8092d9db4e2ffa79690805a55dfff0ec6.tar.bz2
aports-2e7328a8092d9db4e2ffa79690805a55dfff0ec6.tar.xz
community/arandr: adds maintainer
Adds maintainer and minor APKBUILD cleanup
Diffstat (limited to 'community/arandr')
-rw-r--r--community/arandr/APKBUILD19
1 files changed, 5 insertions, 14 deletions
diff --git a/community/arandr/APKBUILD b/community/arandr/APKBUILD
index f2f5af45c6..593da8627f 100644
--- a/community/arandr/APKBUILD
+++ b/community/arandr/APKBUILD
@@ -1,5 +1,5 @@
# Contributor: ScrumpyJack <scrumpyjack@st.ilet.to>
-# Maintainer:
+# Maintainer: ScrumpyJack <scrumpyjack@st.ilet.to>
pkgname=arandr
pkgver=0.1.9
pkgrel=0
@@ -9,28 +9,19 @@ arch="noarch"
license="GPL3"
depends="py-gtk xrandr"
depends_dev=""
-makedepends="py-docutils gettext $depends_dev"
+makedepends="py-docutils gettext"
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
-}
+builddir="$srcdir/$pkgname-$pkgver"
build() {
- cd "$_builddir"
+ cd "$builddir"
}
package() {
- cd "$_builddir"
+ cd "$builddir"
python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1
}