pkgname=highly-experimental-git pkgver=r30.002db85 pkgrel=1 pkgdesc="Highly Experimental PS1/PS2 (PSF) emulator library" arch=(i686 x86_64) url='https://bitbucket.org/kode54/highly-experimental' license=(GPL3) depends=(glibc) makedepends=('git' 'qtchooser') source=("${pkgname}::git+https://bitbucket.org/kode54/highly-experimental.git") sha256sums=('SKIP') pkgver() { cd "$srcdir/$pkgname" printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } prepare() { cd "$srcdir/$pkgname"/Core # Don't request a static lib, it prevents a dynamic one from being built. sed -i '/^CONFIG /s/ staticlib//' Core.pro # Install the header files too. cat >> Core.pro <