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

upgpk: 0.1.0-1, it will not build!

parents
No related branches found
Tags 0.4.2-2
No related merge requests found
trunk/*-66serv/
trunk/pkg/
trunk/src/
trunk/*.pkg.tar.xz
trunk/*.pkg.tar.xz.sig
version/*/bin/
image: obarun/pkgbuild:latest
variables:
repo: "$CI_PROJECT_DIR"
pkg_name: "$CI_PROJECT_NAME"
ssh_private_key: "$SSH_PRIVATE_KEY"
ssh_known_host: "$SSH_KNOWN_HOSTS"
pkg_target: "$CI_COMMIT_REF_NAME"
repo_conf: ".repositories.conf"
# followed variable are ignored but
# need to be set
pkg_track: "branch"
pkg_address: "$CI_PROJECT_URL"
stages:
- build
- deploy
build_repo:
stage: build
script:
- cp ./${repo_conf} /etc/${repo_conf}
- builder.sh --chdir=trunk
retry:
max: 2
artifacts:
name: $CI_PROJECT_NAME-$CI_COMMIT_REF_NAME-$CI_COMMIT_SHORT_SHA
expire_in: 2 days
paths:
- "*.pkg.tar.xz"
only:
changes:
- trunk/PKGBUILD
deploy:
stage: deploy
only:
changes:
- trunk/PKGBUILD
script:
- deploy.sh
#[obcore-testing]
#SigLevel = Required
#Server = https://repo.obarun.org/obcore-testing/
[obcore]
SigLevel = Required
Server = https://repo.obarun.org/obcore
#[obextra-testing]
#SigLevel = Required
#Server = https://repo.obarun.org/obextra-testing
[obextra]
SigLevel = Required
Server = https://repo.obarun.org/obextra
#[obcommunity-testing]
#SigLevel = Required
#Server = https://repo.obarun.org/obcommunity-testing
[obcommunity]
SigLevel = Required
Server = https://repo.obarun.org/obcommunity
#[obmultilib-testing]
#SigLevel = Required
#Server = https://repo.obarun.org/obmultilib-testing
#[obmultilib]
#SigLevel = Required
#Server = https://repo.obarun.org/obmultilib
#[observice-testing]
#SigLevel = Required
#Server = https://repo.obarun.org/observice-testing
[observice]
SigLevel = Required
Server = https://repo.obarun.org/observice
#[testing]
#Include = /etc/pacman.d/mirrorlist
[core]
Include = /etc/pacman.d/mirrorlist
[extra]
Include = /etc/pacman.d/mirrorlist
#[community-testing]
#Include = /etc/pacman.d/mirrorlist
[community]
Include = /etc/pacman.d/mirrorlist
#[multilib-testing]
#Include = /etc/pacman.d/mirrorlist
#[multilib]
#Include = /etc/pacman.d/mirrorlist
Copyright (c) 2015-2020 Eric Vidal <eric@obarun.org>
Copyright (c) 2015-2020 Jean-Michel T.Dydak <jean-michel@obarun.org>
All rights reserved.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
# Obarun : 66 init/supervisor
# Maintainer : Eric Vidal <eric@obarun.org>
# Maintainer : Jean-Michel T.Dydak <jean-michel@obarun.org>
# PkgSource : url="https://framagit.org/pkg/observice/scandir-66serv"
#-----------------------------------------------------------------------------------------------
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgbase=scandir-66serv
pkgname=scandir@-66serv
pkgdesc="Service to create a nested user scandir"
pkgver=0.1.0
pkgrel=1
url="https://framagit.org/pkg/obmods/${pkgbase}.git"
track=branch
target=master
source=("${pkgbase}::git+${url}#${track}=${target}")
#-------------------------------------| BUILD CONFIGURATION |-----------------------------------
makedepends=(
'git'
)
#--------------------------------------------| BUILD |-------------------------------------------
build() {
cd "${pkgname}"
./configure \
--bindir=/usr/bin \
--with-system-service=/usr/lib/66/service \
--with-system-module=/usr/lib/66/module
}
#-------------------------------------------| PACKAGE |------------------------------------------
package() {
cd "${pkgname}"
make DESTDIR="${pkgdir}" install
install -Dm 0644 LICENSE "${pkgdir}"/usr/share/licenses/"${pkgname}"/LICENSE
}
#------------------------------------| INSTALL CONFIGURATION |----------------------------------
arch=('x86_64')
depends=(
'66>=0.4.0.0'
'66-tools>=0.0.5.0'
)
#-------------------------------------| SECURITY AND LICENCE |----------------------------------
sha512sums=('SKIP')
license=('ISC')
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