# 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/1480515062/$pkgname-$pkgver.tar.xz") sha256sums=('e3425aab18dfed5a64aa3715466d8f7bc88312b6e420758a00e4f27dcfb03750') 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 }