pkgname=highly-experimental-git pkgver=r30.002db85 pkgrel=1 pkgdesc="Highly Experimental PS1/PS2 (PSF) emulator library" arch=(i686 x86_64) url='https://gitlab.kode54.net/kode54/Highly_Experimental' license=(GPL3) depends=(glibc) makedepends=('git' 'qtchooser') source=("${pkgname}::git+https://gitlab.kode54.net/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 <