pkgname=libopenshot-audio pkgver=0.1.7 pkgrel=1 pkgdesc="A high-quality audio editing and playback library used by libopenshot." arch=('x86_64') url="https://www.openshot.org/" license=('GPL3') depends=('alsa-lib' 'freetype2' 'libxcursor' 'libxinerama' 'libxrandr') makedepends=('cmake' 'doxygen') source=("https://github.com/OpenShot/${pkgname}/archive/v${pkgver}.tar.gz") sha256sums=('3aa6dcfc5caaa409cfa63db206d3f6f7e25854642e796915e9ac8fdf9dbc9a3f') build() { cd "${srcdir}/${pkgname}-${pkgver}" mkdir build cd build cmake -DCMAKE_INSTALL_PREFIX=/usr .. make } package() { cd "${srcdir}/${pkgname}-${pkgver}/build" make DESTDIR="${pkgdir}" install }