项目作者: schra

项目描述 :
Packages for Arch Linux
高级语言: Shell
项目地址: git://github.com/schra/pkgbuilds.git
创建时间: 2019-10-23T19:43:09Z
项目社区:https://github.com/schra/pkgbuilds

开源协议:MIT License

下载


PKGBUILDs for Arch Linux

This repository contains packages for Arch Linux.
These packages are also published in the AUR.

Installation

I’m using aurpublish to maintain this repository.

  1. git clone git@github.com:schra/pkgbuilds.git
  2. cd pkgbuilds
  3. aurpublish setup

Updating packages

  1. Adjust the PKGBUILD
  2. Update the hash values: updpkgsums PKGBUILD
  3. Build, install and manually test if the package works: makepkg -scfi
  4. Commit the PKGBUILD. aurpublish will prefill the commit message. In most cases you can just leave the commit message like that.

    1. cd PACKAGE/
    2. git add PKGBUILD
    3. git commit
  5. Push the package to both the AUR and this repository

    1. aurpublish PACKAGE
    2. git push

Some remarks

  • If possible, I always provide both the Git and non-Git packages.

  • All Git packages need to:

    • Have conflicts and provides entries that point to the non-Git package equivalent.
    • Have a pkgver function, so that the pkgver variable gets updated automatically.
  • I try to keep the diff between the Git and non-Git PKGBUILDs as small as possible.
    That’s why I always define the _name and _mainfolder variables:

    • _name is the package name without the -git suffix (if there is any).
      It is used to install files in the file system in package().
      Never use pkgname in package(), only use it in source.
    • _mainfolder is the folder that contains the source code.
      For Git packages this is the repository name.
      For non-Git packages it is the name of the folder inside the tar ball (normally tar balls contain exactly one directory which then contains the actual content).
      Use _mainfolder when using cd.