diff options
author | Daniel Bermond | 2021-01-06 00:47:46 +0000 |
---|---|---|
committer | Daniel Bermond | 2021-01-06 00:47:46 +0000 |
commit | f2aa241fb3e9bdbddee21d03154348b8b9d3f864 (patch) | |
tree | 7e608a14b1075e45a6a1319fb81b2238f0bd2a20 /PKGBUILD | |
download | aur-f2aa241fb3e9bdbddee21d03154348b8b9d3f864.tar.gz |
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..62171092de6d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,33 @@ +# Maintainer: Daniel Bermond <dbermond@archlinux.org> + +pkgname=copperspice +pkgver=1.7.0 +pkgrel=1 +pkgdesc='Libraries for developing cross platform software applications in C++' +arch=('x86_64') +url='https://www.copperspice.com/' +license=('LGPL2.1') +depends=('cups' 'fontconfig' 'glib2' 'gstreamer' 'gst-plugins-base-libs' 'libgl' + 'libice' 'libpulse' 'libsm' 'libx11' 'libxcb' 'libxi' 'libxkbcommon' + 'libxkbcommon-x11' 'openssl' 'xcb-util-keysyms' 'xcb-util-image' + 'xcb-util-renderutil' 'xcb-util-wm' 'zlib') +optdepends=('mariadb-libs: for MySQL database support' + 'postgresql-libs: for PostgreSQL database support') +makedepends=('cmake' 'alsa-lib' 'mariadb-libs' 'postgresql' 'postgresql-libs' + 'libxcursor' 'libxext' 'libxfixes' 'libxinerama' 'libxrandr' + 'libxrender' 'libxml2') +conflicts=('qt5-tools') +source=("https://github.com/copperspice/copperspice/archive/cs-${pkgver}/${pkgname}-${pkgver}.tar.gz") +sha256sums=('5450da1968172df91a7b54101ddbcc385d9cc4ea6a007bcb500e92f34849fb9f') + +build() { + cmake -B build -S "copperspice-cs-${pkgver}" \ + -DCMAKE_BUILD_TYPE:STRING='None' \ + -DCMAKE_INSTALL_PREFIX:PATH='/usr' \ + -Wno-dev + make -C build +} + +package() { + make -C build DESTDIR="$pkgdir" install +} |