mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
community/speedometer: modernize APKBUILD
This commit is contained in:
parent
cc8e9750b2
commit
21e5cf4d96
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user