comparison network/ipcalc/ipcalc.sh @ 1216:6710613b88b9

misc: remove build function
author David Demelier <markand@malikania.fr>
date Wed, 29 Sep 2021 13:49:32 +0200
parents 297b5eef115e
children 337f950c30f5
comparison
equal deleted inserted replaced
1215:3214f7fed454 1216:6710613b88b9
21 PKGLICENSE="GPLv20+" 21 PKGLICENSE="GPLv20+"
22 PKGSUMMARY="network IP calculator" 22 PKGSUMMARY="network IP calculator"
23 PKGDOWNLOAD="http://jodies.de/ipcalc-archive/$PKGNAME-$PKGVERSION.tar.gz" 23 PKGDOWNLOAD="http://jodies.de/ipcalc-archive/$PKGNAME-$PKGVERSION.tar.gz"
24 PKGDEPENDS="perl" 24 PKGDEPENDS="perl"
25 25
26 build() 26 rm -rf $PKGNAME-$PKGVERSION
27 { 27 tar xvf $PKGNAME-$PKGVERSION.tar.gz
28 rm -rf $PKGNAME-$PKGVERSION 28 cd $PKGNAME-$PKGVERSION
29 tar xvf $PKGNAME-$PKGVERSION.tar.gz
30 cd $PKGNAME-$PKGVERSION
31 29
32 install -Dm0755 ipcalc $DESTDIR/bin/ipcalc 30 install -Dm0755 ipcalc $DESTDIR/bin/ipcalc
33 31
34 cd .. 32 cd ..
35 rm -rf $PKGNAME-$PKGVERSION 33 rm -rf $PKGNAME-$PKGVERSION
36 }