File: mkConstruir.sh

package info (click to toggle)
ccbuild 2.0.7%2Bgit20160227.c1179286-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 1,692 kB
  • sloc: cpp: 5,211; ansic: 1,913; sh: 260; makefile: 26
file content (27 lines) | stat: -rwxr-xr-x 916 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/bin/bash
cd "`dirname "$0"`"
echo "Script to create construir package"
mkdir -p pkgs
if [ ! -f pkgs/libbobcat-3.14.00-1-x86_64.pkg.tar.xz ]; then
    echo "You need to download"
    echo 'https://mega.co.nz/#F!9kVTBZCK!CQQskU8DhcBOo67EQ2UaWw'
    echo "and place is in pkgs"
    exit 1
fi

for pkg in boost-1.53.0-2-x86_64.pkg.tar.xz boost-libs-1.53.0-2-x86_64.pkg.tar.xz kbproto-1.0.6-1-any.pkg.tar.xz libbobcat-3.14.00-1-x86_64.pkg.tar.xz libx11-1.6.0-1-x86_64.pkg.tar.xz libxau-1.0.8-1-x86_64.pkg.tar.xz libxcb-1.9.1-1-x86_64.pkg.tar.xz libxdmcp-1.1.1-1-x86_64.pkg.tar.xz xcb-proto-1.8-1-any.pkg.tar.xz xproto-7.0.24-1-any.pkg.tar.xz; do
    if [ ! -f "pkgs/$pkg" ]; then
        echo "Required package $pkg"
        echo "not found"
        exit 1
    fi
done

tar -cJf ../ccbuild-HEAD-construir_i1.tar.xz --exclude=.git --transform 's/^ccbuild/job/' ../ccbuild
echo "Created ../ccbuild-HEAD_i1.tar.xz"