PKGBUILD for Avogadro local testing

Since I’m writing some extensions to Avogadro, I find useful having a PKGBUILD for creating a package on Arch Linux.

Here it is

pkgname=avogadro-devel
pkgver=$(git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g')
pkgrel=1
arch=('i686' 'x86_64')
source=()

prepare() {
  cd "${startdir}"  
  rm -fr pkgbuild …
more...