# Arch Linux maintainers and contributors: # Contributor: danyf90 # Contributor: Pafrape 3.5.2' 'gettext' 'extra-cmake-modules') license=('GPLv2') source=("https://dl.opendesktop.org/api/files/download/id/1485353737/$pkgname-$pkgver.tar.xz") sha256sums=('e934bc9778f593ec098549914b8ff571003e5a432e6cf0a7d81bacfccad7ae11') build() { cd $pkgname-$pkgver mkdir -p build && cd build CXXFLAGS="$CXXFLAGS -std=gnu++11" cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release .. make } package() { cd $pkgname-$pkgver/build make DESTDIR="$pkgdir" install }