Skip to content
Snippets Groups Projects
PKGBUILD 1.17 KiB
Newer Older
Eric Vidal's avatar
Eric Vidal committed
# Obarun        : 66 init/supervisor
# Maintainer    : Eric Vidal <eric@obarun.org>
# Maintainer    : Jean-Michel T.Dydak <jean-michel@obarun.org>
Eric Vidal's avatar
Eric Vidal committed
# Source        : url="https://framagit.org/pkg/observice/dockerd-66serv"
Eric Vidal's avatar
Eric Vidal committed
#--------------------------------------------------------------------------------------

Eric Vidal's avatar
Eric Vidal committed
pkgdesc="${pkgbase} service for 66 tools"

Eric Vidal's avatar
Eric Vidal committed
pkgver=0.0.1
pkgrel=2

Eric Vidal's avatar
Eric Vidal committed
pkgbase=dockerd
pkgname="${pkgbase}"-66serv

url="https://framagit.org/pkg/observice/${pkgbase}-66serv.git"
Eric Vidal's avatar
Eric Vidal committed

track=branch
Eric Vidal's avatar
Eric Vidal committed
target=master
source=("${pkgname}::git+${url}#${track}=${target}")
Eric Vidal's avatar
Eric Vidal committed

Eric Vidal's avatar
Eric Vidal committed
#------------------------------BUILD CONFIGURATION----------------------
Eric Vidal's avatar
Eric Vidal committed

makedepends=(
Eric Vidal's avatar
Eric Vidal committed
    'git'
)
Eric Vidal's avatar
Eric Vidal committed

Eric Vidal's avatar
Eric Vidal committed
#------------------------------PACKAGE----------------------------------
Eric Vidal's avatar
Eric Vidal committed

package() {
    cd "${pkgname}/trunk"

    install -Dm 0644 dockerd "${pkgdir}"/usr/lib/66/service/dockerd
    install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/"${pkgname}"/LICENSE
}

Eric Vidal's avatar
Eric Vidal committed
#------------------------------INSTALL CONFIGURATION--------------------

arch=('x86_64')
pkgdepends=docker

depends=(
    "${pkgdepends}"
    '66'
)

#-------------------------------SECURITY AND LICENCE--------------------   
Eric Vidal's avatar
Eric Vidal committed

sha512sums=('SKIP')
license=('ISC')
Eric Vidal's avatar
Eric Vidal committed