community/speedometer: modernize APKBUILD

This commit is contained in:
Roberto Oliveira 2017-07-21 18:29:02 +00:00 committed by Jakub Jirutka
parent cc8e9750b2
commit 21e5cf4d96

View File

@ -7,25 +7,12 @@ pkgdesc="Measure and display the rate of data across a network connection or dat
url="http://excess.org/speedometer/"
arch="noarch"
license="LGPL"
depends="python2 py-urwid"
makedepends=
install=
subpackages=
depends="python2 py2-urwid"
source="http://excess.org/$pkgname/$pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
# apply patches here
}
build() {
return 0
}
builddir="$srcdir/$pkgname-$pkgver"
package() {
cd "$_builddir"
cd "$builddir"
install -Dm755 speedometer.py "$pkgdir"/usr/bin/speedometer
}