Skip to content
Snippets Groups Projects

Adapt PKGBUILD.vim to the recent switch to SPDX identifiers for the license array

Merged Robin Candau requested to merge antiz/pacman-contrib:spdx_identifier into master

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Author Contributor

    Here's a PKGBUILD to build a pacman-contrib package including this change for testing purposes:

    # Maintainer: Johannes Löthberg <johannes@kyriasis.com>
    # Maintainer: Daniel M. Capella <polyzen@archlinux.org>
    
    pkgname=pacman-contrib
    pkgver=1.10.4
    pkgrel=1
    pkgdesc='Contributed scripts and tools for pacman systems'
    arch=('x86_64')
    url=https://gitlab.archlinux.org/antiz/pacman-contrib
    license=('GPL')
    depends=('fakeroot' 'pacman' 'perl')
    makedepends=('asciidoc' 'git')
    optdepends=('diffutils: for pacdiff'
                'findutils: for pacdiff --find'
                'mlocate: for pacdiff --locate'
                'sudo: privilege elevation for several scripts'
                'vim: default merge program for pacdiff')
    source=("git+$url.git#branch=spdx_identifier")
    b2sums=('SKIP')
    validpgpkeys=('04DC3FB1445FECA813C27EFAEA4F7B321A906AD9') # Daniel M. Capella <polyzen@archlinux.org>
    #             '5134EF9EAF65F95B6BB1608E50FB9B273A9D0BB5')  # Johannes Löthberg <johannes@kyriasis.com>
    
    prepare() {
      cd $pkgname
      ./autogen.sh
    }
    
    build() {
      cd $pkgname
      ./configure \
        --prefix=/usr \
        --sysconfdir=/etc \
        --localstatedir=/var
      make
    }
    
    check() {
      cd $pkgname
      make check
    }
    
    package() {
      cd $pkgname
      make DESTDIR="$pkgdir" install
    }
    
    # vim:set ts=2 sw=2 et:
    Edited by Robin Candau
  • Robin Candau added 1 commit

    added 1 commit

    • 712dd01e - Adapt PKGBUILD.vim to the recent switch to SPDX identifiers for the license array

    Compare with previous version

  • Robin Candau added 1 commit

    added 1 commit

    Compare with previous version

  • Robin Candau added 1 commit

    added 1 commit

    Compare with previous version

  • Robin Candau added 1 commit

    added 1 commit

    • 1c9bae96 - Adapt PKGBUILD.vim to the recent switch to SPDX identifiers for the license array

    Compare with previous version

  • mentioned in commit 913bde45

  • Merged finally, thank you. For some reason I am getting a different sorting from the find command, so will throw in a sort.

Please register or sign in to reply
Loading