Skip to content
Snippets Groups Projects
Commit bbe23195 authored by Eric Vidal's avatar Eric Vidal :speech_balloon:
Browse files

try to build with latest oblibs commit

parent 893962b4
No related branches found
No related tags found
No related merge requests found
Pipeline #15566 passed
...@@ -18,23 +18,16 @@ check_tag(){ ...@@ -18,23 +18,16 @@ check_tag(){
fi fi
} }
rm_package(){
pacman -Rdd ${1}
}
## skalibs ## skalibs
build_skalibs() { build_skalibs() {
rm_package "skalibs"
git clone https://github.com/skarnet/skalibs git clone https://github.com/skarnet/skalibs
cd skalibs cd skalibs
check_tag "${skalibs_tag}" check_tag "${skalibs_tag}"
./configure \ ./configure \
--prefix=/usr \ --prefix=/usr \
--with-default-path=/usr/bin \ --with-default-path=/usr/bin \
--disable-shared --enable-shared
make install || return 1 make install || return 1
cd .. cd ..
...@@ -43,7 +36,6 @@ build_skalibs() { ...@@ -43,7 +36,6 @@ build_skalibs() {
## execline ## execline
build_execline() { build_execline() {
rm_package "execline"
git clone https://github.com/skarnet/execline git clone https://github.com/skarnet/execline
cd execline cd execline
check_tag "${execline_tag}" check_tag "${execline_tag}"
...@@ -53,7 +45,7 @@ build_execline() { ...@@ -53,7 +45,7 @@ build_execline() {
--bindir=/usr/bin \ --bindir=/usr/bin \
--sbindir=/usr/bin \ --sbindir=/usr/bin \
--shebangdir=/usr/bin \ --shebangdir=/usr/bin \
--disable-shared --enable-shared
make install || return 1 make install || return 1
cd .. cd ..
...@@ -62,7 +54,6 @@ build_execline() { ...@@ -62,7 +54,6 @@ build_execline() {
## s6 ## s6
build_s6() { build_s6() {
rm_package "s6"
git clone https://github.com/skarnet/s6 git clone https://github.com/skarnet/s6
cd s6 cd s6
check_tag "${s6_tag}" check_tag "${s6_tag}"
...@@ -70,7 +61,7 @@ build_s6() { ...@@ -70,7 +61,7 @@ build_s6() {
--prefix=/usr \ --prefix=/usr \
--bindir=/usr/bin \ --bindir=/usr/bin \
--sbindir=/usr/bin \ --sbindir=/usr/bin \
--disable-shared --enable-shared
make install || return 1 make install || return 1
cd .. cd ..
...@@ -79,15 +70,16 @@ build_s6() { ...@@ -79,15 +70,16 @@ build_s6() {
## oblibs ## oblibs
build_oblibs() { build_oblibs() {
rm_package "oblibs"
git clone https://git.obarun.org/obarun/oblibs git clone https://git.obarun.org/obarun/oblibs
cd oblibs cd oblibs
check_tag "${oblibs_tag}" #check_tag "${oblibs_tag}"
git switch dev
./configure \ ./configure \
--prefix=/usr \ --prefix=/usr \
--with-lib=/usr/lib/skalibs \ --with-lib=/usr/lib/skalibs \
--with-lib=/usr/lib/execline \ --with-lib=/usr/lib/execline \
--disable-shared --enable-shared
make install || return 1 make install || return 1
cd .. cd ..
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment