diff options
-rw-r--r-- | community/arandr/APKBUILD | 19 |
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 } |