updated build
This commit is contained in:
1 parent
b93e6153af
commit
dcdd2ea51a
1 file changed
+4
-1
@@ -406,7 +406,7 @@ buildpkg() {
|
|||||||
printf "$BBLUE**$BWHITE Downloading sources\n$RESET"
|
printf "$BBLUE**$BWHITE Downloading sources\n$RESET"
|
||||||
[ ! -d $srcdir ] && mkdir -p $srcdir
|
[ ! -d $srcdir ] && mkdir -p $srcdir
|
||||||
cd $srcdir
|
cd $srcdir
|
||||||
wget $source
|
[ ! -f $pkgname-$pkgver.tar.* ] && wget $source
|
||||||
cd -
|
cd -
|
||||||
fi
|
fi
|
||||||
if [[ $(type -t configure) = function ]]; then
|
if [[ $(type -t configure) = function ]]; then
|
||||||
@@ -437,6 +437,9 @@ buildpkg() {
|
|||||||
find -type f > $buildroot/list
|
find -type f > $buildroot/list
|
||||||
find -type l >> $buildroot/list
|
find -type l >> $buildroot/list
|
||||||
sed -i "s/.\///" $buildroot/list
|
sed -i "s/.\///" $buildroot/list
|
||||||
|
sed -i 's/usr\/sbin//g' $buildroot/list
|
||||||
|
sed -i 's/usr\/lib64//g' $buildroot/list
|
||||||
|
sed -i 's/usr\/lib32//g' $buildroot/list
|
||||||
cd $buildroot
|
cd $buildroot
|
||||||
mv list $pkgdir/list
|
mv list $pkgdir/list
|
||||||
if [ "$deps" != "" ]; then
|
if [ "$deps" != "" ]; then
|
||||||
|
|||||||
Reference in new issue
Block a user