summaryrefslogtreecommitdiff
path: root/user/mtr
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-11 01:54:54 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-11 01:54:54 +0000
commit21c4b84eb30afc752dd0ba5965c61dfc3bebac3d (patch)
tree1ca6f553222cbe4809067ffa24d6efafdae7b8df /user/mtr
parent5efd7da9a9a79f82b4621cfd34fb8200c51f485a (diff)
downloadpackages-21c4b84eb30afc752dd0ba5965c61dfc3bebac3d.tar.gz
packages-21c4b84eb30afc752dd0ba5965c61dfc3bebac3d.tar.bz2
packages-21c4b84eb30afc752dd0ba5965c61dfc3bebac3d.tar.xz
packages-21c4b84eb30afc752dd0ba5965c61dfc3bebac3d.zip
user/*: Modernise / fix syntax / metadata / deps
Diffstat (limited to 'user/mtr')
-rw-r--r--user/mtr/APKBUILD6
1 files changed, 2 insertions, 4 deletions
diff --git a/user/mtr/APKBUILD b/user/mtr/APKBUILD
index b2483b326..59fc8a203 100644
--- a/user/mtr/APKBUILD
+++ b/user/mtr/APKBUILD
@@ -41,15 +41,13 @@ build() {
}
package() {
- cd "$builddir"/curses
- make DESTDIR="$pkgdir" install
+ make DESTDIR="$pkgdir" -C curses install
}
gtk() {
pkgdesc="Graphical traceroute tool"
depends=""
- cd "$builddir"/gtk
- make DESTDIR="$subpkgdir" install
+ make DESTDIR="$subpkgdir" -C "$builddir"/gtk install
install -D -m 644 "$srcdir"/mtr-gtk.desktop \
"$subpkgdir"/usr/share/applications/mtr-gtk.desktop
install -D -m 644 "$builddir"/img/mtr_icon.xpm \