comparison perl/p5-locale-gettext/p5-locale-gettext.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 4ccc42bf0284
comparison
equal deleted inserted replaced
1215:3214f7fed454 1216:6710613b88b9
24 PKGDEPENDS="perl gettext" 24 PKGDEPENDS="perl gettext"
25 25
26 : ${CC:=clang} 26 : ${CC:=clang}
27 : ${CFLAGS:=} 27 : ${CFLAGS:=}
28 28
29 build() 29 rm -rf Locale-gettext-$PKGVERSION
30 { 30 tar xvf Locale-gettext-$PKGVERSION.tar.gz
31 rm -rf Locale-gettext-$PKGVERSION 31 cd Locale-gettext-$PKGVERSION
32 tar xvf Locale-gettext-$PKGVERSION.tar.gz
33 cd Locale-gettext-$PKGVERSION
34 32
35 perl Makefile.PL INSTALLDIRS=vendor 33 perl Makefile.PL INSTALLDIRS=vendor
36 make CC="$CC" CFLAGS="$CFLAGS" DESTDIR=$DESTDIR install 34 make CC="$CC" CFLAGS="$CFLAGS" DESTDIR=$DESTDIR install
37 35
38 cd .. 36 cd ..
39 rm -rf Locale-gettext-$PKGVERSION 37 rm -rf Locale-gettext-$PKGVERSION
40 }