Skip to content
Snippets Groups Projects
PKGBUILD 1.04 KiB
Newer Older
  • Learn to ignore specific revisions
  • 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/service/dockerd-66serv"
    
    Eric Vidal's avatar
    Eric Vidal committed
    #--------------------------------------------------------------------------------------
    
    
    Eric Vidal's avatar
    Eric Vidal committed
    pkgbase=dockerd
    pkgdepends=docker
    
    Eric Vidal's avatar
    Eric Vidal committed
    pkgname="${pkgbase}"-66serv
    pkgver=0.0.1
    
    Eric Vidal's avatar
    Eric Vidal committed
    pkgrel=3
    
    Eric Vidal's avatar
    Eric Vidal committed
    
    pkgdesc="${pkgbase} service for 66 tools"
    url="https://framagit.org/pkg/service/${pkgbase}-66serv.git"
    
    track=branch
    
    Eric Vidal's avatar
    Eric Vidal committed
    target=master
    source=("${pkgname}::git+${url}#${track}=${target}")
    
    Eric Vidal's avatar
    Eric Vidal committed
    
    depends=(
        "${pkgdepends}"
        '66')
    
    makedepends=(
        'git')
    
    #--------------------------------------------------------------------------------------
    
    package() {
        cd "${pkgname}/trunk"
    
    
    Eric Vidal's avatar
    Eric Vidal committed
        install -Dm 0644 dockerd "${pkgdir}"/usr/lib/66/service/dockerd
    
    Eric Vidal's avatar
    Eric Vidal committed
        install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/"${pkgname}"/LICENSE
    }
    
    #--------------------------------------------------------------------------------------
    
    sha512sums=('SKIP')
    license=('ISC')
    arch=('x86_64')